diff options
| -rw-r--r-- | bot/exts/utils/bot.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/bot/exts/utils/bot.py b/bot/exts/utils/bot.py index a4c828f95..d84709616 100644 --- a/bot/exts/utils/bot.py +++ b/bot/exts/utils/bot.py @@ -44,6 +44,8 @@ class BotCog(Cog, name="Bot"):          """Repeat the given message in either a specified channel or the current channel."""          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.")          else:              await channel.send(text) | 
