Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/security scanners #49

Merged
merged 12 commits into from
May 29, 2024
Prev Previous commit
Next Next commit
Only handle tokens when configured to
EvieePy committed May 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit b826fed797f91dbd17ae1039cb990b8359dfaf72
2 changes: 1 addition & 1 deletion core/database.py
Original file line number Diff line number Diff line change
@@ -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(