Closed sean-keisuke closed 3 years ago
if not re.match(r"[MN][A-Za-z\d]{23}\.[\w-]{6}\.[\w-]{27}", token_value):
only allows tokens with prefix M or N. Current Discord tokens may provide new tokens that start with letter O.
if not re.match(r"[MN][A-Za-z\d]{23}\.[\w-]{6}\.[\w-]{27}", token_value): only allows tokens with prefix M or N. Current Discord tokens may provide new tokens that start with letter O.
only allows tokens with prefix M or N. Current Discord tokens may provide new tokens that start with letter O.