.shm/.schm

This commit is contained in:
Flummi 2023-07-17 18:32:51 +02:00
parent 0b0971b6d5
commit 5f6bde0e21

View File

@ -59,7 +59,7 @@ export default async bot => {
} }
}, { }, {
name: "shm", name: "shm",
call: /^\.shm/i, call: /^\.sc?hm/i,
set: "all", set: "all",
f: e => { f: e => {
const term = e.args[0] || e.user.nick; const term = e.args[0] || e.user.nick;
@ -70,7 +70,7 @@ export default async bot => {
const first = term.charAt(0) === term.charAt(0).toUpperCase() ? "S" : "s"; const first = term.charAt(0) === term.charAt(0).toUpperCase() ? "S" : "s";
e.reply(` ${term} ${first}chm${term.slice(index).toLowerCase()} sag ich immer`); e.reply(`ach, ${term} ${first}chm${term.slice(index).toLowerCase()} sag ich immer`);
} }
}]; }];
}; };