diff --git a/antilinks/core.py b/antilinks/core.py index 7a85539a..97e8a0ba 100644 --- a/antilinks/core.py +++ b/antilinks/core.py @@ -38,7 +38,7 @@ RequestType = Literal["discord_deleted_user", "owner", "user", "user_strict"] LINKS: Pattern[str] = re.compile( - r"(\|\|)?(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,63}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?(\|\|)?" # type: ignore + r"(\|\|)?(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w]?[-\d\w]{0,253}[\d\w]\.)+[\w]{2,63}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?(\|\|)?" # type: ignore ) diff --git a/battleroyale/info.json b/battleroyale/info.json index 9f3b0eb0..ae28e2bb 100644 --- a/battleroyale/info.json +++ b/battleroyale/info.json @@ -17,7 +17,8 @@ "requirements": [ "pillow", "prettytable", - "typing_extensions" + "typing_extensions", + "emoji" ], "type": "COG", "end_user_data_statement": "This cog does not store End User Data."