Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Command Styleguide

Mike edited this page Mar 20, 2020 · 3 revisions

💬 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

Embeds

Embed style guide

Clone this wiki locally