mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2025-02-16 13:24:06 +00:00
:D
This commit is contained in:
parent
9ce7c0e83e
commit
422c63a45d
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -130,9 +130,9 @@ class Game:
|
|||
def updategroupname(self, bot):
|
||||
try:
|
||||
if self.phase == "Voting":
|
||||
bot.setChatTitle(self.groupid, s.group_name.format(phase=s.day.format(day=self.day), name=self.name))
|
||||
bot.set_chat_title(self.groupid, s.group_name.format(phase=s.day.format(day=self.day), name=self.name))
|
||||
else:
|
||||
bot.setChatTitle(self.groupid, s.group_name.format(phase=self.phase, name=self.name))
|
||||
bot.set_chat_title(self.groupid, s.group_name.format(phase=self.phase, name=self.name))
|
||||
except Unauthorized:
|
||||
print("Bot is not administrator in group {}".format(self.groupid))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue