check for more terms
@@ -114,7 +114,7 @@ class Events:
contains_piracy_url_mention = any(x in msg for x in ('3ds.titlekeys', 'wiiu.titlekeys', 'titlekeys.com'))
contains_piracy_tool_mention = any(x in msg_no_separators for x in self.piracy_tools)
contains_piracy_site_mention_indirect = any(x in msg for x in ('iso site', 'chaos site'))
- contains_misinformation_url_mention = any(x in msg for x in ('gudie.racklab',))
+ contains_misinformation_url_mention = any(x in msg_no_separators for x in ('gudie.racklab', 'guide.racklab', 'gudieracklab', 'guideracklab'))
contains_drama_alert = any(x in msg_no_separators for x in self.drama_alert)
# lazy attachment check, i've got to find a better way of doing this
for f in message.attachments:
@@ -129,7 +129,7 @@ class Events:
except discord.errors.NotFound:
pass
try:
- await self.bot.send_message(message.author, "**This is currently in testing, if you did nothing wrong, don't worry.**\nPlease read {}. This site may be misinterpreted as legitimate and cause users harm, therefore your message was automatically deleted.".format(self.bot.welcome_channel.mention), embed=embed)
+ await self.bot.send_message(message.author, "Please read {}. This site may be misinterpreted as legitimate and cause users harm, therefore your message was automatically deleted.".format(self.bot.welcome_channel.mention), embed=embed)
except discord.errors.Forbidden:
pass # don't fail in case user has DMs disabled for this server, or blocked the bot
await self.bot.send_message(self.bot.messagelogs_channel, "**Bad site**: {} mentioned a blocked site in {} (message deleted)".format(message.author.mention, message.channel.mention), embed=embed)
