mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
Added !set status and way to disable songs' titles as status
This commit is contained in:
10
red.py
10
red.py
@@ -209,6 +209,16 @@ async def name(ctx, *name : str):
|
||||
await bot.edit_profile(settings["PASSWORD"], username=" ".join(name))
|
||||
await bot.say("Done.")
|
||||
|
||||
@_set.command(pass_context=True)
|
||||
@checks.is_owner()
|
||||
async def status(ctx, *status : str):
|
||||
"""Sets Red's status"""
|
||||
if status != ():
|
||||
await bot.change_status(discord.Game(name=" ".join(status)))
|
||||
else:
|
||||
await self.bot.change_status(None)
|
||||
await bot.say("Done.")
|
||||
|
||||
@bot.command()
|
||||
@checks.is_owner()
|
||||
async def shutdown():
|
||||
|
||||
Reference in New Issue
Block a user