Fix _on_delete in private is_admin
This commit is contained in:
@@ -181,7 +181,7 @@ class FlanaBot(Connect4Bot, PenaltyBot, PollBot, ScraperBot, WeatherBot, MultiBo
|
|||||||
and
|
and
|
||||||
(n_messages := flanautils.text_to_number(message.text))
|
(n_messages := flanautils.text_to_number(message.text))
|
||||||
):
|
):
|
||||||
if not message.author.is_admin:
|
if message.author.is_admin is False:
|
||||||
await self.send_negative(message)
|
await self.send_negative(message)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user