Adding a cooldown to ~roles

pull/4/head
sgoudham 4 years ago
parent 3215964ffd
commit 1941ee4f48

@ -232,6 +232,7 @@ class CustomHelp(commands.Cog):
# ~roles command allows for an embed message about roles
@command(name="roles", aliases=["Roles"])
@cooldown(1, 5, BucketType.user)
async def roles(self, ctx):
# Allowing the bot to dm the user
author = ctx.author

Loading…
Cancel
Save