Skip to content

Commit

Permalink
Only handle tokens when configured to
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed May 28, 2024
1 parent 964b8bf commit b826fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def _token_task(self) -> None:
await asyncio.sleep(self._gist_timeout)

def _handle_discord_tokens(self, tokens: list[str], paste_id: str) -> None:
if not tokens:
if not self._handling_tokens or not tokens:
return

LOGGER.info(
Expand Down

0 comments on commit b826fed

Please sign in to comment.