From 3ffdf8f89b060c71b94563a17cde3361676e0e6c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 20 Sep 2015 22:39:44 +0200 Subject: [PATCH] Opsie --- royalbot.py | 2 +- ty/Steffo.tyr | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 ty/Steffo.tyr diff --git a/royalbot.py b/royalbot.py index b27c06e1..5b7c35e3 100644 --- a/royalbot.py +++ b/royalbot.py @@ -276,7 +276,7 @@ while(True): else: #Controlla se la selezione รจ un username di telegram. if(msg['text'][4:].lower() in tylist): - selezione = osuids[msg['text'][5:].lower()] + selezione = tylist[msg['text'][5:].lower()] setTyping('typing', msg['chat']['id']) ty = readFile("ty/" + selezione + ".tyr") writeFile("ty/" + selezione + ".tyr", ty + 1) diff --git a/ty/Steffo.tyr b/ty/Steffo.tyr new file mode 100644 index 00000000..e69de29b