Removed @everyone and @here check line,
It doesnt work, need to fix.
This commit is contained in:
@@ -148,10 +148,6 @@ async def on_message(message):
|
|||||||
if message.author == bot.user:
|
if message.author == bot.user:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check for @everyone or @here mentions and ignore such messages
|
|
||||||
if "@everyone" in message.content or "@here" in message.content:
|
|
||||||
return
|
|
||||||
|
|
||||||
identifier = message.channel.id
|
identifier = message.channel.id
|
||||||
thread_ids[identifier]["last_used"] = datetime.now()
|
thread_ids[identifier]["last_used"] = datetime.now()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user