mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-25 23:24:18 +00:00
Fixed another possible bug
This commit is contained in:
parent
d4cd4b50e6
commit
4c541c1255
1 changed files with 4 additions and 1 deletions
5
main.py
5
main.py
|
@ -259,7 +259,10 @@ class Player:
|
|||
|
||||
def message(self, bot, text):
|
||||
"""Manda un messaggio privato al giocatore."""
|
||||
bot.sendMessage(self.tid, text, parse_mode=ParseMode.MARKDOWN)
|
||||
try:
|
||||
bot.sendMessage(self.tid, text, parse_mode=ParseMode.MARKDOWN)
|
||||
except TelegramError:
|
||||
pass
|
||||
|
||||
def kill(self, bot, game):
|
||||
"""Uccidi il giocatore."""
|
||||
|
|
Loading…
Reference in a new issue