In this video, we work on a bot permissions check for application commands/slash commands in discord.py v2.0.
If you found this video helpful, please do consider liking the video, subscribing, and sharing it to someone who might find this video helpful (I know a lot of people say this, but it really does help the channel 🙂). If you have any questions, feel free to comment in the comments section or join our Discord Server (discord.gg/M6eFU3HrUn)!
More discord.py videos: • discord.py
Install discord.py v2.0: pip install discord.py
More information about slash commands in discord.py: • (Updated!) How to Make Slash Commands...
Discord Server: / discord
Twitter (@Digiwind_YT): / digiwind_yt
Top.gg: https://top.gg/user/512025208542986241
GitHub (Digiwind): https://github.com/Digiwind
Official Discord.py Server: discord.gg/dpy
Documentation:
@discord.app_commands.checks.bot_has_permissions: https://discordpy.readthedocs.io/en/l...
discord.Permissions: https://discordpy.readthedocs.io/en/l...
Chapters:
0:00-0:35 Intro
0:35-01:11 Documentation
01:11-01:30 Bot Permissions Check Decorator
01:30-02:14 Error Handler
02:14-02:36 Running the Code
02:36-02:42 Outro
#discordpy #dpy #slashcommands #digiwind #discordbots #pythonprogramming