From f507d39a70d8d6afcfae011e0f219c6acbbff866 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 30 Jun 2020 19:42:47 +0100 Subject: [PATCH] Reformatting some code --- cogs/HelpCommands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogs/HelpCommands.py b/cogs/HelpCommands.py index f673948e..38d3d54b 100644 --- a/cogs/HelpCommands.py +++ b/cogs/HelpCommands.py @@ -72,6 +72,7 @@ class CustomHelp(commands.Cog): @command(name="rolemenu") @is_owner() async def role_menu(self, ctx): + # Get the channel id of #self-roles channel = self.bot.get_channel(722347423913213992) @@ -112,6 +113,7 @@ class CustomHelp(commands.Cog): @command(name="rules", aliases=["Rules"]) @cooldown(1, 5, BucketType.user) async def rules(self, ctx): + # Allowing the bot to dm the user author = ctx.author # Define Izzy's roles ID @@ -234,6 +236,7 @@ class CustomHelp(commands.Cog): @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