1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00
royalnet/bot.py

10 lines
265 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
import telegram
import steam
while(True):
#Guarda il comando ricevuto.
msg = telegram.getUpdates()
cmd = msg['text'].split(' ')
2015-10-03 16:44:23 +00:00
if(cmd[0].startswith('/ahnonlosoio')):
telegram.sendMessage("Ah, non lo so nemmeno io!\n¯\_(ツ)_/¯")