mirror of https://github.com/Nofated095/Q2TG.git
fix: Hug regex
This commit is contained in:
parent
ca4c87c064
commit
0f1a7e9798
|
@ -23,7 +23,7 @@ type ActionSubjectQq = {
|
|||
|
||||
type ActionSubject = ActionSubjectTg | ActionSubjectQq;
|
||||
|
||||
const COMMAND_REGEX = /^\/([^\w\s$]\S*)|\$(\w\S*)/; // /抱 /$rua
|
||||
const COMMAND_REGEX = /^\/([^\w\s$]\S*)|^\/\$(\w\S*)/; // /抱 /$rua
|
||||
|
||||
export default class {
|
||||
private readonly log: Logger;
|
||||
|
|
Loading…
Reference in New Issue