Command Styleguide - veldtech/miki-bot GitHub Wiki
💬 This is work in progress.. If you're a contributor to Miki, feel free to reach out to Veld#0001 for feedback.
Single Commands
- Once a command has been fired on the view layer, no points should leave the user without a response.
- Send a message after committing any service calls to assure that the user's information is safe.
- Be very wary for context-sensitive commands as the bot itself is stateless and will not guarantee that your state is available.
Command tree
- Be sure to always have a default implementation that at least indexes the command. e.x.
[Command(blackjack)]
-> [Command()]: shows information about the command and usage of subcommands
-> [Command(new)]: starts a new session
-> [Command(...)]: interacts on an existing session