mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
bugfix
This commit is contained in:
parent
06d397b708
commit
471475403c
1 changed files with 2 additions and 2 deletions
4
mifia.py
4
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()
|
||||
|
|
Loading…
Reference in a new issue