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