We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117c462 commit 4b4ad7fCopy full SHA for 4b4ad7f
tests/test_bot.py
@@ -1,6 +1,7 @@
1
import asyncio
2
import logging
3
import os
4
+import random
5
from asyncio import AbstractEventLoop
6
from contextlib import suppress
7
from datetime import datetime, timedelta
@@ -77,7 +78,7 @@ async def bot(github_commit) -> Client:
77
78
gw = asyncio.create_task(bot.start_gateway())
79
80
await bot._ready.wait()
- bot.suffix = github_commit
81
+ bot.suffix = github_commit + " - " + hex(random.randint(0, 255))[2:]
82
log.info(f"Logged in as {bot.user} ({bot.user.id}) -- {bot.suffix}")
83
84
yield bot
0 commit comments