Update FlanaBot._on_database_messages

This commit is contained in:
AlberLC
2023-09-05 05:00:53 +02:00
parent bf03b1c8e7
commit e4f5a6bab4

View File

@@ -269,7 +269,7 @@ class FlanaBot(Connect4Bot, PenaltyBot, PollBot, ScraperBot, UberEatsBot, Weathe
(messages := await self.get_last_database_messages( (messages := await self.get_last_database_messages(
n_messages=max(1, n_messages), n_messages=max(1, n_messages),
platforms=platforms, platforms=platforms,
authors=message.mentions + users, authors=[user for user in message.mentions if user.id != self.id] + users,
is_group=is_group, is_group=is_group,
is_private=is_private, is_private=is_private,
chats=chats chats=chats