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();
...