From 520bb588dc4d2216bbb2524bfd1c0ca3c9b0be12 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 18 Jun 2020 19:14:55 +0100 Subject: [PATCH] Fixed ~rules command taking in multiple arguments --- cogs/HelpCommands.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cogs/HelpCommands.py b/cogs/HelpCommands.py index a9e2ac65..a7a40242 100644 --- a/cogs/HelpCommands.py +++ b/cogs/HelpCommands.py @@ -160,8 +160,9 @@ class CustomHelp(commands.Cog): # Bot ~rules command allows for an embed message about the leveled roles and xp system @commands.command(aliases=["Rules", "rule", "Rule"]) - async def rules(self, ctx, target: discord.Member): + async def rules(self, ctx): author = ctx.message.author + izzyID = '<@397944038440828928' try: embed = discord.Embed(title="```(っ◔◡◔)っ Ensō Rules```", colour=discord.Colour(0xFF69B4), @@ -259,7 +260,7 @@ class CustomHelp(commands.Cog): embed.add_field( name="\u200b", value=f"**➳ Any disputes about a staff members choices or actions can be brought to myself, {ctx.message.author.mention} " + - f", or my co-owner, {target.mention}**", + f", or my co-owner, {izzyID}**", inline=False) await author.send(embed=embed)