Slash Command Cooldowns | discord.py

Опубликовано: 27 Октябрь 2024
на канале: Digiwind
5,173
75

In this video, we work on coding slash command cooldowns - user, member, channel, and guild cooldowns - in discord.py! These cooldowns can be created using app_commands.checks.cooldown.

If you have any questions or comments, feel free to comment below or join our Discord server - discord.gg/MM6eFU3HrUn.

If you found this video helpful, please consider liking the video and subscribing (it really helps out the channel)!

Make Slash Commands in Discord.py:    • (Updated!) How to Make Slash Commands...  
More Discord.py Videos:    • discord.py  

Slash Command Code Template: https://github.com/Digiwind/Digiwind-...

Cooldown Documentation: https://discordpy.readthedocs.io/en/l...
Tree Error Handling: https://discordpy.readthedocs.io/en/l...

Discord Server:   / discord  
Twitter (@Digiwind_YT):   / digiwind_yt  
Reddit (u/digiwind_yt):   / digiwind_yt  
Top.gg: https://top.gg/user/512025208542986241
Github (Digiwind): https://github.com/Digiwind
Official Discord.py Server: discord.gg/dpy

Chapters:
0:00-0:20 Intro
0:20-0:41 Slash Commands
0:41-01:15 Cooldown Documentation
01:15-01:29 User Cooldown
01:29-01:35 Member Cooldown
01:35-01:56 User vs. Member Cooldown
01:56-02:03 Guild Cooldown
02:03-02:08 Channel Cooldown
02:08-02:35 Tree Error Handling
02:35-02:54 Checking if the Error is a Cooldown
02:54-03:03 Handling Other Errors
03:03-03:31 Custom Cooldown Message
03:31-04:10 Slash Command Syncing
04:10-04:20 Small Detail About Tree Errors
04:20-05:10 Testing the Code
05:10-05:23 Outro

#discordpy #dpy #digiwind #slashcommands #discord #discordslashcommands