Reformatting some code

pull/4/head
sgoudham 4 years ago
parent 1941ee4f48
commit f507d39a70

@ -72,6 +72,7 @@ class CustomHelp(commands.Cog):
@command(name="rolemenu") @command(name="rolemenu")
@is_owner() @is_owner()
async def role_menu(self, ctx): async def role_menu(self, ctx):
# Get the channel id of #self-roles # Get the channel id of #self-roles
channel = self.bot.get_channel(722347423913213992) channel = self.bot.get_channel(722347423913213992)
@ -112,6 +113,7 @@ class CustomHelp(commands.Cog):
@command(name="rules", aliases=["Rules"]) @command(name="rules", aliases=["Rules"])
@cooldown(1, 5, BucketType.user) @cooldown(1, 5, BucketType.user)
async def rules(self, ctx): async def rules(self, ctx):
# Allowing the bot to dm the user # Allowing the bot to dm the user
author = ctx.author author = ctx.author
# Define Izzy's roles ID # Define Izzy's roles ID
@ -234,6 +236,7 @@ class CustomHelp(commands.Cog):
@command(name="roles", aliases=["Roles"]) @command(name="roles", aliases=["Roles"])
@cooldown(1, 5, BucketType.user) @cooldown(1, 5, BucketType.user)
async def roles(self, ctx): async def roles(self, ctx):
# Allowing the bot to dm the user # Allowing the bot to dm the user
author = ctx.author author = ctx.author

Loading…
Cancel
Save