refactor: define parameter types *again*
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
7fdf18b5cb
commit
0ee018e2ce
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