mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
[i18n] Fix some missing i18n strings in the whole bot (#2633)
This commit is contained in:
@@ -183,7 +183,9 @@ class Streams(commands.Cog):
|
||||
async def twitch_alert_channel(self, ctx: commands.Context, channel_name: str):
|
||||
"""Toggle alerts in this channel for a Twitch stream."""
|
||||
if re.fullmatch(r"<#\d+>", channel_name):
|
||||
await ctx.send("Please supply the name of a *Twitch* channel, not a Discord channel.")
|
||||
await ctx.send(
|
||||
_("Please supply the name of a *Twitch* channel, not a Discord channel.")
|
||||
)
|
||||
return
|
||||
await self.stream_alert(ctx, TwitchStream, channel_name.lower())
|
||||
|
||||
@@ -374,7 +376,7 @@ class Streams(commands.Cog):
|
||||
if message is not None:
|
||||
guild = ctx.guild
|
||||
await self.db.guild(guild).live_message_mention.set(message)
|
||||
await ctx.send(_("stream alert message set!"))
|
||||
await ctx.send(_("Stream alert message set!"))
|
||||
else:
|
||||
await ctx.send_help()
|
||||
|
||||
@@ -390,7 +392,7 @@ class Streams(commands.Cog):
|
||||
if message is not None:
|
||||
guild = ctx.guild
|
||||
await self.db.guild(guild).live_message_nomention.set(message)
|
||||
await ctx.send(_("stream alert message set!"))
|
||||
await ctx.send(_("Stream alert message set!"))
|
||||
else:
|
||||
await ctx.send_help()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user