Skip to content

Instantly share code, notes, and snippets.

@FreeApp2014
Created June 12, 2020 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FreeApp2014/cd8dc60992aa7e89d453f86249bb2375 to your computer and use it in GitHub Desktop.
Save FreeApp2014/cd8dc60992aa7e89d453f86249bb2375 to your computer and use it in GitHub Desktop.

Discord Bot GUI

This project is an attempt to replace the traditional "command-reply" architecture of a Discord bot and provide user a more verbose and real-time experience as well as sending less messages to chat.

How does this work

A user uses a command to summon an interactive menu which is a RichEmbed with reactions under it. Clicking reactions edits the message to reflect the current state. User input is handled by prompting for data in the main embed and letting the user send the message using a separate message which is automatically deleted after processed. The session is linked to a specific user so other messages do not affect the operation although its still a better idea to use a separate channel that does not get chat activity in it. After the operation the session may be closed with the main message getting deleted and all the temporary data for that session (views history or other stuff) cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment