Merge remote-tracking branch 'refs/remotes/origin/master' into #1288-2

This commit is contained in:
syuilo
2018-03-28 13:06:26 +09:00
18 changed files with 131 additions and 47 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);
}