| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A simplistic take on functional cooldowns.
pip install function-cooldowns
A simplistic example, read more on the docs!
import cooldowns
...
@bot.slash_command(
description="Ping command",
)
@cooldowns.cooldown(1, 15, bucket=cooldowns.SlashBucket.author)
async def ping(interaction: nextcord.Interaction):
await interaction.response.send_message("Pong!")Want realtime help? Join the discord here.
Want a feature added quickly? Want me to help build your software using this?
Sponsor me here
| Back | FazBrowse Home | New Git URL |