1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-22 13:54:19 +00:00
This commit is contained in:
Steffo 2016-12-04 20:18:35 +01:00
parent 3ccaade0ac
commit e8b7031109
2 changed files with 3 additions and 3 deletions

View file

@ -234,7 +234,7 @@ class Derek(Role):
game.message(bot, s.derek_deathwish_successful.format(icon=s.derek_icon,
role=s.derek_name,
name=self.deathwish.tusername))
self.deathwish.kill()
self.deathwish.kill(bot, game)
rolepriority = [Mifioso, Investigatore, Angelo, Derek, Terrorista]
@ -580,7 +580,7 @@ def join(bot, update):
if p is None:
p = Player(update.message.from_user['id'], update.message.from_user['username'])
try:
p.message(bot, s.you_joined.format(game=game))
p.message(bot, s.you_joined.format(game=game.name))
except TelegramError:
game.message(bot, s.error_chat_unavailable)
else:

View file

@ -191,7 +191,7 @@ status_alive_player = "{icon} @{name} ({votes} voti)\n"
status_dead_player = "\U0001F480 @{name}\n"
# Status: Modalità debug
debug_mode = "*DEBUG/CHEATS MODE*"
debug_mode = "*DEBUG/CHEATS MODE*\n"
# Ping!
pong = "Pong!"