Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Latest commit

 

History

History
73 lines (48 loc) · 3.05 KB

README.md

File metadata and controls

73 lines (48 loc) · 3.05 KB

nyxx_commander

Discord Shield pub documentation

Deprecation notice: nyxx_commander is being deprecated in favour of nyxx_commands as Discord now restricts access to message content which can impact text commands as nyxx_commander creates. In the event you wish to continue using text commands, nyxx_commands also supports them and is actively maintained. nyxx_commander will no longer receive updates and is already incompatible with the latest versions of nyxx.

Simple, robust framework for creating discord bots for Dart language.


Features

  • commands and subcommands
  • aliases support
  • extensive support for middleware
  • lightweight

Quick example

Commands:

void main() {
  final bot = NyxxFactory.createNyxxWebsocket("<TOKEN>", GatewayIntents.allUnprivileged);

  Commander(bot, prefix: "!!!")
    ..registerCommand("ping", (context, message) => context.reply(content: "Pong!"));
}

Other nyxx packages

More examples

Nyxx examples can be found here.

Example bots

Documentation, help and examples

Dartdoc documentation for latest stable version is hosted on pub

You can read docs and wiki articles for latest stable version on my website. This website also hosts docs for latest dev changes to framework (dev branch)

If you need assistance in developing bot using nyxx you can join official nyxx discord guild.

Discord API documentation features rich descriptions about all topics that nyxx covers.

The unofficial guild for Discord Bot developers. To get help with nyxx check #dart_nyxx channel.

The dartdocs page will always have the documentation for the latest release.

Contributing to Nyxx

Read contributing document

Credits