fix (timer): Fix typo in --text setting.

This commit is contained in:
2022-01-12 09:40:34 +02:00
parent d1f27ca826
commit 6b7c708fa2

View File

@@ -404,7 +404,7 @@ async def _pomo_admin(ctx, flags):
# Attempt to parse the provided channel # Attempt to parse the provided channel
channel = await ctx.find_channel(flag, interactive=True, chan_type=discord.ChannelType.text) channel = await ctx.find_channel(flag, interactive=True, chan_type=discord.ChannelType.text)
if channel: if channel:
if not channel.permissions_for(ctx.guild.me.send_messages): if not channel.permissions_for(ctx.guild.me).send_messages:
return await ctx.error_reply( return await ctx.error_reply(
f"Cannot send pomodoro alerts to {channel.mention}! " f"Cannot send pomodoro alerts to {channel.mention}! "
"I don't have permission to send messages there." "I don't have permission to send messages there."