From 1941ee4f482581baae8ccf1de28f40ed9ced55d5 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 30 Jun 2020 19:40:22 +0100 Subject: [PATCH] Adding a cooldown to ~roles --- cogs/HelpCommands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/HelpCommands.py b/cogs/HelpCommands.py index d4f9a0b2..f673948e 100644 --- a/cogs/HelpCommands.py +++ b/cogs/HelpCommands.py @@ -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