You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In c9daa6f we made it go until the whitespace because of the way the Discord client parses invites, but we can safely account for it by adding / to the character class instead (i.e [a-zA-Z0-9/-]).
The text was updated successfully, but these errors were encountered:
The current invite regex is too permissive. It captures any non-space character, while invite codes can only have letters and numbers.
bot-core/botcore/utils/regex.py
Line 15 in 127d0ef
In c9daa6f we made it go until the whitespace because of the way the Discord client parses invites, but we can safely account for it by adding
/
to the character class instead (i.e[a-zA-Z0-9/-]
).The text was updated successfully, but these errors were encountered: