0 purchases
botway dart
botway_dart
Dart client package for Botway
Usage #
after creating a new dart botway project, you need to use your tokens to connect with your bot.
import "package:nyxx/nyxx.dart";
import "package:botway_dart/botway_dart.dart";
void main() {
var bot_config = Botway();
final bot = NyxxFactory.createNyxxWebsocket(bot_config.Get_Token(), GatewayIntents.allUnprivileged)
..registerPlugin(Logging()) // Default logging plugin
..registerPlugin(CliIntegration()) // Cli integration for nyxx allows stopping application via SIGTERM and SIGKILl
..registerPlugin(IgnoreExceptions()) // Plugin that handles uncaught exceptions that may occur
..connect();
...
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.