refactor: define parameter types *again*
This commit is contained in:
parent
bd39df5368
commit
93e3ca4f96
2 changed files with 3 additions and 3 deletions
2
main.py
2
main.py
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue