|
@ -211,8 +211,8 @@ def init_commands(dp): |
|
|
def main(): |
|
|
def main(): |
|
|
"""Start the bot.""" |
|
|
"""Start the bot.""" |
|
|
# Create the EventHandler and pass it your bot's token. |
|
|
# Create the EventHandler and pass it your bot's token. |
|
|
# token = open("token").read() |
|
|
|
|
|
token = open("test_token").read() |
|
|
|
|
|
|
|
|
token = open("token").read() |
|
|
|
|
|
# token = open("test_token").read() |
|
|
updater = Updater(token.strip()) |
|
|
updater = Updater(token.strip()) |
|
|
|
|
|
|
|
|
# Get the dispatcher to register handlers |
|
|
# Get the dispatcher to register handlers |
|
|