Fix FlanaBot._on_database_messages
This commit is contained in:
@@ -215,6 +215,7 @@ class FlanaBot(Connect4Bot, PenaltyBot, PollBot, ScraperBot, UberEatsBot, Weathe
|
|||||||
return
|
return
|
||||||
if message.author.id != self.owner_id:
|
if message.author.id != self.owner_id:
|
||||||
await self.send_negative(message)
|
await self.send_negative(message)
|
||||||
|
return
|
||||||
|
|
||||||
words = await self.filter_mention_ids(message.text, message, delete_names=True)
|
words = await self.filter_mention_ids(message.text, message, delete_names=True)
|
||||||
n_messages = 0
|
n_messages = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user