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

11 lines
295 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(' ')
sby = msg['from']['id']
2015-10-03 16:44:23 +00:00
if(cmd[0].startswith('/ahnonlosoio')):
telegram.sendMessage("Ah, non lo so nemmeno io!\n¯\_(ツ)_/¯", sby)