Moved piracy_sites to it's own list
Additionally, massively expanded it to include numerous ROM sites.
@@ -120,6 +120,22 @@ class Events:
'unbanmii',
)
+ # piracy sites
+ piracy_sites = (
+ '3dsiso',
+ '3dschaos',
+ 'wiiuiso',
+ 'madloader',
+ 'darkumbra',
+ 'chaosgamez',
+ 'maxconsole',
+ 'emuparadise',
+ 'loveroms',
+ 'coolrom',
+ 'romsmania',
+ 'completeroms',
+ )
+
# I hate naming variables sometimes
user_antispam = {}
channel_antispam = {}
@@ -148,7 +164,7 @@ class Events:
msg_no_separators = re.sub('[ \*_\-~]', '', msg)
contains_invite_link = "discordapp.com/invite" in msg or "discord.gg" in msg or "join.skype.com" in msg
- contains_piracy_site_mention = any(x in msg for x in ('3dsiso', '3dschaos', 'wiiuiso', 'madloader', 'darkumbra', 'chaosgamez', 'maxconsole',))
+ contains_piracy_site_mention = any(x in msg for x in self.piracy_sites)
contains_piracy_url_mention = any(x in msg for x in ('3ds.titlekeys', 'wiiu.titlekeys', 'titlekeys.com', '95.183.50.10',))
contains_piracy_tool_mention = any(x in msg_no_separators for x in self.piracy_tools)
contains_piracy_tool_alert_mention = any(x in msg_no_separators for x in self.piracy_tools_alert)
