Update FlanaBot._on_database_messages

This commit is contained in:
AlberLC
2023-09-05 00:15:48 +02:00
parent 818b385f2d
commit b4e7287de9

View File

@@ -205,7 +205,7 @@ class FlanaBot(Connect4Bot, PenaltyBot, PollBot, ScraperBot, UberEatsBot, Weathe
await self.edit(message.buttons_info.buttons, message) await self.edit(message.buttons_info.buttons, message)
@owner @owner(send_negative=True)
async def _on_database_messages(self, message: Message, simple=False): async def _on_database_messages(self, message: Message, simple=False):
if message.chat.is_group and not self.is_bot_mentioned(message): if message.chat.is_group and not self.is_bot_mentioned(message):
return return