Ignore dollar sign header content
This commit is contained in:
parent
dd16ffe945
commit
ecf1234821
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ export default defineEvent("messageCreate", async (message) => {
|
||||||
voice = "TypeCast"
|
voice = "TypeCast"
|
||||||
} else if (content.startsWith("$p ")) {
|
} else if (content.startsWith("$p ")) {
|
||||||
voice = "Papago"
|
voice = "Papago"
|
||||||
|
} else if (content.match(/^\$\s/)) {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (voice) {
|
if (voice) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue