In this video, we will work on making a button with a cooldown in discord.py with Cooldown Mapping.
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 in D...
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:
Bucket (Cooldown) Types: https://discordpy.readthedocs.io/en/l...
Code used in this video: https://github.com/Digiwind/Digiwind-...
Without this post - https://stackoverflow.com/questions/7..., this video would not be here!
Chapters:
0:00-0:18 Intro
0:18-01:03 Cooldown Mapping
01:03-01:12 Bucket Types (Types of Cooldowns)
01:12-01:29 Button
01:29-03:04 Button Callback
03:04-03:12 Making the Button Persistent
03:12-03:18 Adding the View to the Slash Command Response
03:18-03:40 Running the Code
03:40-03:51 Outro
#discordpy #digiwind #dpy #buttoncooldown #cooldownmapping #buttoncooldowns