1 parent 7a90f07 commit 13c2ccfCopy full SHA for 13c2ccf
1 file changed
src/components/events/message.ts
@@ -97,7 +97,7 @@ export default async function (msg: Message, type: string): Promise<void> {
97
const [command, ...rest] = normalizedBody.split(" ");
98
const key = command.toLocaleLowerCase("en");
99
100
- msg.body = [command, ...rest].join(" ").toLocaleLowerCase("en");
+ msg.body = [key, ...rest].join(" ");
101
const handler = commands[key];
102
103
// stop here
0 commit comments