mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
parent
6c62817de5
commit
bb90a50ae4
@ -1089,7 +1089,7 @@ class Core(commands.Cog, CoreLogic):
|
||||
)
|
||||
await ctx.bot.change_presence(status=status, activity=game)
|
||||
if game:
|
||||
await ctx.send(_(f"Status set to ``Playing {game.name}``."))
|
||||
await ctx.send(_("Status set to ``Playing {game.name}``.").format(game=game))
|
||||
else:
|
||||
await ctx.send(_("Game cleared."))
|
||||
|
||||
@ -1106,7 +1106,9 @@ class Core(commands.Cog, CoreLogic):
|
||||
activity = None
|
||||
await ctx.bot.change_presence(status=status, activity=activity)
|
||||
if activity:
|
||||
await ctx.send(_(f"Status set to ``Listening to {listening}``."))
|
||||
await ctx.send(
|
||||
_("Status set to ``Listening to {listening}``.").format(listening=listening)
|
||||
)
|
||||
else:
|
||||
await ctx.send(_("Listening cleared."))
|
||||
|
||||
@ -1123,7 +1125,7 @@ class Core(commands.Cog, CoreLogic):
|
||||
activity = None
|
||||
await ctx.bot.change_presence(status=status, activity=activity)
|
||||
if activity:
|
||||
await ctx.send(_(f"Status set to ``Watching {watching}``."))
|
||||
await ctx.send(_("Status set to ``Watching {watching}``.").format(watching=watching))
|
||||
else:
|
||||
await ctx.send(_("Watching cleared."))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user