Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce slash commands #33

Open
3 tasks
abe-101 opened this issue Dec 11, 2022 · 0 comments
Open
3 tasks

introduce slash commands #33

abe-101 opened this issue Dec 11, 2022 · 0 comments

Comments

@abe-101
Copy link
Member

abe-101 commented Dec 11, 2022

slash commands allow for more easy to use interactions with the bot
pressing / will bring up a context menu with commands the bot can do
image

Things to do:

  • set up cogs
  • move new_chapter to cogs and make a hybrid commnand
  • create a delete_chapter that reverse the new_chapter command

cog in the framework discord.py is like an extension basically a folder called cog and within the folder you can have different "extensions" that can be loaded into the bot
for all intent and purposes it's a way to break apart the code out of a single main file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant