mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-25 23:24:18 +00:00
Bugfixes
This commit is contained in:
parent
3ccaade0ac
commit
e8b7031109
2 changed files with 3 additions and 3 deletions
4
main.py
4
main.py
|
@ -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:
|
||||
|
|
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue