We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8566f94 commit dfd4915Copy full SHA for dfd4915
public/index.html
@@ -51,7 +51,7 @@ <h1 class="text-3xl font-bold text-yellow-700 mb-4">Connect a New Bot</h1>
51
}
52
53
// Regex check the bot token first
54
- if (!/^\d{5,}:\w{10,}/.test(botToken)){
+ if (!/^\d{5,}:[\w-]{10,}/.test(botToken)){
55
showError('Bot token is invalid!');
56
return;
57
0 commit comments