|
@ -188,7 +188,7 @@ def error(bot, update, error): |
|
|
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("test_token").read() |
|
|
|
|
|
|
|
|
token = open("token").read() |
|
|
updater = Updater(token.strip()) |
|
|
updater = Updater(token.strip()) |
|
|
|
|
|
|
|
|
# Get the dispatcher to register handlers |
|
|
# Get the dispatcher to register handlers |
|
|