logs: reduce spam

This commit is contained in:
Ave Ozkal 2019-03-04 19:34:28 +03:00
parent e6f7143405
commit 9d9c8d2104
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -21,13 +21,12 @@ class Logs(Cog):
self.susp_words = ["sx", "tx", "reinx", # piracy-enabling cfws
"tinfoil", "dz", # title managers
"goldleaf", "lithium", # title managers
"nsp", "xci", # "backup" formats
"nut", "doge", "cdnsp"] # cdn dlers/dumpers
"xci"] # "backup" format
susp_hellgex = "|".join([r"\W*".join(list(word)) for
word in self.susp_words])
self.susp_hellgex = re.compile(susp_hellgex, re.IGNORECASE)
self.ok_words = ["nspwn", "hblnsp", "exefs"]
self.ok_words = []
@Cog.listener()
async def on_member_join(self, member):