From 471475403c407fbd539d81a3d611461b76bad14f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 17 Apr 2016 13:13:53 -0400 Subject: [PATCH] bugfix --- mifia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mifia.py b/mifia.py index 91314c7b..860acd82 100644 --- a/mifia.py +++ b/mifia.py @@ -64,7 +64,7 @@ class Game: def fullstatus(self) -> str: """Restituisci lo stato attuale della partita (per admin?) in una stringa unicode""" - tosend = "Stato attuale del gioco: \n" + tosend = str(self.groupid) + "\n" for player in self.players: if not player.alive: tosend += "\U0001F480 " @@ -322,7 +322,7 @@ while True: elif t['text'].startswith("/fullstatus"): if t['from']['id'] == g.adminid: g.adminmessage(g.fullstatus()) - g.message(g.displaycount()) + g.adminmessage(g.displaycount()) elif t['text'].startswith("/save"): if t['from']['id'] == g.adminid: g.save()