mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-26 07:34:19 +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,
|
game.message(bot, s.derek_deathwish_successful.format(icon=s.derek_icon,
|
||||||
role=s.derek_name,
|
role=s.derek_name,
|
||||||
name=self.deathwish.tusername))
|
name=self.deathwish.tusername))
|
||||||
self.deathwish.kill()
|
self.deathwish.kill(bot, game)
|
||||||
|
|
||||||
|
|
||||||
rolepriority = [Mifioso, Investigatore, Angelo, Derek, Terrorista]
|
rolepriority = [Mifioso, Investigatore, Angelo, Derek, Terrorista]
|
||||||
|
@ -580,7 +580,7 @@ def join(bot, update):
|
||||||
if p is None:
|
if p is None:
|
||||||
p = Player(update.message.from_user['id'], update.message.from_user['username'])
|
p = Player(update.message.from_user['id'], update.message.from_user['username'])
|
||||||
try:
|
try:
|
||||||
p.message(bot, s.you_joined.format(game=game))
|
p.message(bot, s.you_joined.format(game=game.name))
|
||||||
except TelegramError:
|
except TelegramError:
|
||||||
game.message(bot, s.error_chat_unavailable)
|
game.message(bot, s.error_chat_unavailable)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -191,7 +191,7 @@ status_alive_player = "{icon} @{name} ({votes} voti)\n"
|
||||||
status_dead_player = "\U0001F480 @{name}\n"
|
status_dead_player = "\U0001F480 @{name}\n"
|
||||||
|
|
||||||
# Status: Modalità debug
|
# Status: Modalità debug
|
||||||
debug_mode = "*DEBUG/CHEATS MODE*"
|
debug_mode = "*DEBUG/CHEATS MODE*\n"
|
||||||
|
|
||||||
# Ping!
|
# Ping!
|
||||||
pong = "Pong!"
|
pong = "Pong!"
|
||||||
|
|
Loading…
Reference in a new issue