mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
correct word cloud can_count_message predicate
oopsie woopsie my brain went fucky wucky. reverse the predicate
This commit is contained in:
1 file changed
+1
-1
@@ -181,7 +181,7 @@ class WordCloud(commands.Cog):
|
||||
|
||||
return (
|
||||
message.author.id in self.consenting_users
|
||||
and not message.clean_content[:2].isalpha() # Naive check for traditional bot commands
|
||||
and message.clean_content[:2].isalpha() # Naive check for traditional bot commands
|
||||
)
|
||||
|
||||
def tokenize(self, text: str) -> list[str]:
|
||||
|
||||
Reference in new issue
Block a user