Verified Commit 53b0d35f authored by GeloMyrtol's avatar GeloMyrtol

fixed error message on empty token

fixes #173
parent 2da29dc6
......@@ -63,9 +63,8 @@ def cmd_start() -> None:
# Init Bot
token = config.token
if token == "":
# TODO entfernen oder anpassen
print("First configure your bot. So execute with --config")
if token == "" or token == None:
print("Token is not set. Have a look at the README and configure the bot right.")
print("Initializing Bot")
bot = telegram.Bot(token=token)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment