refactor: define parameter types *again*

This commit is contained in:
Macintxsh 2025-05-17 23:23:14 +03:00
parent bd39df5368
commit 93e3ca4f96
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ def main() -> None:
application.run_polling(allowed_updates=commands.Update.ALL_TYPES)
def get_token():
def get_token() -> None:
if os.getenv("BOT_TOKEN") is not None:
return os.getenv("BOT_TOKEN")