mirror of
https://github.com/miaowware/qrm2.git
synced 2025-05-23 18:02:27 -04:00
sigh
This commit is contained in:
parent
b25b5a95ff
commit
4d763c2fc1
2
main.py
2
main.py
@ -156,12 +156,14 @@ async def _ensure_activity_time():
|
|||||||
|
|
||||||
await bot.change_presence(activity=discord.Game(name=status))
|
await bot.change_presence(activity=discord.Game(name=status))
|
||||||
|
|
||||||
|
|
||||||
@tasks.loop(minutes=5)
|
@tasks.loop(minutes=5)
|
||||||
async def _ensure_activity_random():
|
async def _ensure_activity_random():
|
||||||
status = random.choice(opt.statuses)
|
status = random.choice(opt.statuses)
|
||||||
|
|
||||||
await bot.change_presence(activity=discord.Game(name=status))
|
await bot.change_presence(activity=discord.Game(name=status))
|
||||||
|
|
||||||
|
|
||||||
@tasks.loop(minutes=5)
|
@tasks.loop(minutes=5)
|
||||||
async def _ensure_activity_fixed():
|
async def _ensure_activity_fixed():
|
||||||
status = opt.statuses[0]
|
status = opt.statuses[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user