Compare commits
No commits in common. "one_game" and "master" have entirely different histories.
1 changed files with 0 additions and 10 deletions
10
bot.py
10
bot.py
|
@ -76,16 +76,6 @@ def new_game(bot, update):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
||||||
try:
|
|
||||||
_game = gm.chatid_games[chat_id][-1]
|
|
||||||
except (KeyError, IndexError):
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
send_async(bot, chat_id,
|
|
||||||
text=_("There is already a game running in this chat. Join the "
|
|
||||||
"game with /join"))
|
|
||||||
return
|
|
||||||
|
|
||||||
if update.message.chat_id in gm.remind_dict:
|
if update.message.chat_id in gm.remind_dict:
|
||||||
for user in gm.remind_dict[update.message.chat_id]:
|
for user in gm.remind_dict[update.message.chat_id]:
|
||||||
send_async(bot,
|
send_async(bot,
|
||||||
|
|
Loading…
Reference in a new issue