This commit is contained in:
syuilo 2018-03-28 13:05:30 +09:00
parent 43f882b778
commit eb443709bf
9 changed files with 88 additions and 8 deletions

View file

@ -67,7 +67,7 @@ export default class BotCore extends EventEmitter {
return await this.context.q(query);
}
if (/^@[a-zA-Z0-9-]+$/.test(query)) {
if (/^@[a-zA-Z0-9_]+$/.test(query)) {
return await this.showUserCommand(query);
}