mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[Core] Unify commands that set bot's activity status (#3646)
* alias [p]set game * Implement suggestions
This commit is contained in:
parent
2e5dc82692
commit
4d81887bcf
@ -1073,7 +1073,7 @@ class Core(commands.Cog, CoreLogic):
|
||||
else:
|
||||
await ctx.send(_("Done."))
|
||||
|
||||
@_set.command(name="game")
|
||||
@_set.command(name="playing", aliases=["game"])
|
||||
@checks.bot_in_a_guild()
|
||||
@checks.is_owner()
|
||||
async def _game(self, ctx: commands.Context, *, game: str = None):
|
||||
@ -1158,7 +1158,7 @@ class Core(commands.Cog, CoreLogic):
|
||||
await ctx.bot.change_presence(status=status, activity=game)
|
||||
await ctx.send(_("Status changed to {}.").format(status))
|
||||
|
||||
@_set.command()
|
||||
@_set.command(name="streaming", aliases=["stream"])
|
||||
@checks.bot_in_a_guild()
|
||||
@checks.is_owner()
|
||||
async def stream(self, ctx: commands.Context, streamer=None, *, stream_title=None):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user