Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robbcocco authored Jul 21, 2016
1 parent eb983d8 commit c4dd4e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ def handle(msg):
else:
bot.sendMessage(chat_id, 'Correct syntax is "/pokemap location"')

else if command.lower().startswith('/start'):
elif command.lower().startswith('/start'):
bot.sendMessage(chat_id, 'Hi!')

else if command.lower().startswith('/help'):
elif command.lower().startswith('/help'):
bot.sendMessage(chat_id, 'To get the map of a location with nearby Pokémon, just type\n' \
'/pokemap followed by the desired location\n\n' \
'Sources can be found here https://github.com/robbcocco/PokemonGo-Map-forTelegram', disable_web_page_preview=True)
Expand Down

0 comments on commit c4dd4e2

Please sign in to comment.