refactor: define parameter types *again*

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2025-05-17 23:23:14 +03:00
parent 7fdf18b5cb
commit 0ee018e2ce
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2
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")