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
Application Commands Documentation #309
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just these things (brackets and Bot with command prefix of /
) left before ill approve
Co-authored-by: Epic <tagepicuwu@gmail.com>
Co-authored-by: Epic <tagepicuwu@gmail.com>
✔️ Deploy Preview for nextcord-gh-action ready! 🔨 Explore the source changes: 3ccfeb7 🔍 Inspect the deploy log: https://app.netlify.com/sites/nextcord-gh-action/deploys/61ec9817a703750007cb64ff 😎 Browse the preview: https://deploy-preview-309--nextcord-gh-action.netlify.app |
I am not sure if these are still up to date in the corresponding part,but if i dislike the way Command Options display the option types below. I think this should be done differently for the docs |
|
||
|
||
def setup(bot): | ||
bot.add_cog(ApplicationCommandCog(bot)) # adds the cog to your bot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here you use standard Cogs while you document smth. above called ClientCog. I think this should be consistent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ClientCog is only a internal class, it cant be used to do anything iirc
|
||
|
||
def setup(bot): | ||
bot.add_cog(ApplicationCommandCog(bot)) # adds the cog to your bot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ClientCog is only a internal class, it cant be used to do anything iirc
Summary
Adds Documentation for application commands, also overhauls the docs somewhat
Supersedes the pull on alento's fork.
Checklist