This commit is contained in:
parent
43f882b778
commit
eb443709bf
9 changed files with 88 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue