aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steele Farnsworth <[email protected]>2021-06-22 18:14:45 -0400
committerGravatar GitHub <[email protected]>2021-06-22 18:14:45 -0400
commit0c87e5a7198c1f11238841244a221c48c6d1b25d (patch)
tree15001d2af21b4253de849e86e8fe967df9ae560e
parentPrevent one from using the `!echo` command for a channel in which one can't s... (diff)
Update bot/exts/utils/bot.py
Change single quotes to double quotes and un-escape the internal single quote. Co-authored-by: Leon Sandøy <[email protected]>
-rw-r--r--bot/exts/utils/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/bot.py b/bot/exts/utils/bot.py
index f372a54e4..d84709616 100644
--- a/bot/exts/utils/bot.py
+++ b/bot/exts/utils/bot.py
@@ -45,7 +45,7 @@ class BotCog(Cog, name="Bot"):
if channel is None:
await ctx.send(text)
elif not channel.permissions_for(ctx.author).send_messages:
- await ctx.send('You don\'t have permission to speak in that channel.')
+ await ctx.send("You don't have permission to speak in that channel.")
else:
await channel.send(text)