From 3f895f8140f6c6b136d846a802be75228398b345 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 24 Jul 2020 11:36:17 +0100 Subject: [PATCH] Adding quotation marks for reason given --- cogs/moderation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/moderation.py b/cogs/moderation.py index 0b4dd5c4..f56d2009 100644 --- a/cogs/moderation.py +++ b/cogs/moderation.py @@ -22,7 +22,7 @@ class Moderation(commands.Cog): await ctx.guild.kick(user=member, reason=reason) await ctx.send(f"{ctx.author.name} **kicked** {member.name}" - f"\n**Reason:** {reason}") + f"\n**Reason:** '{reason}'") @command() @guild_only() @@ -33,7 +33,7 @@ class Moderation(commands.Cog): await ctx.guild.ban(user=member, reason=reason) await ctx.send(f"{ctx.author.name} **banned** {member.name}" - f"\n**Reason:** {reason}") + f"\n**Reason:** '{reason}'") @command() @guild_only() @@ -45,7 +45,7 @@ class Moderation(commands.Cog): await ctx.guild.unban(member, reason=reason) await ctx.send(f"{ctx.author.name} **unbanned** {member.name}" - f"\n**Reason:** {reason}") + f"\n**Reason:** '{reason}'") @command() @guild_only()