diff --git a/bot.py b/bot.py index ff3d35f..e5dfc2a 100755 --- a/bot.py +++ b/bot.py @@ -49,6 +49,7 @@ class BotClient(discord.Client): ): super().__init__(intents=intents) self._leaguefacts = leaguefacts or [] + random.seed() async def on_ready(self): _log.info(f"ready as {self.user}") @@ -84,7 +85,6 @@ class BotClient(discord.Client): def _select_leaguefact(self) -> Optional[str]: if not self._leaguefacts: return None - random.seed() return random.choice(self._leaguefacts)