Exenifix / AIAS

AIAS (Artifical Intelligence AntiSpam) is an open-source Discord bot that has innovative moderation features, such as nextgen word filter and AI-based spam detection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link filter sometimes raises KeyError

Exenifix opened this issue · comments

Need to check the json received

Seems like it sometimes also detects links wrongly (it considers an emoji a link) here's new normal regex
https?:\\/\\/(?:www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_\\+.~#?&\\/=]*)

Fixed in 3659453