oddiakritikování of prefix
This commit is contained in:
parent
a3d07ede72
commit
6369ea2720
@ -77,7 +77,7 @@ client.on("messageCreate", mes => {
|
||||
if (process.env.ignoreMess) return;
|
||||
|
||||
const [mes_prefix, komandSDiakritikou, ...args] = mes.content.split(" ");
|
||||
if (mes_prefix.toLowerCase() !== prefix) return void runEvent("message", [mes]);
|
||||
if (oddiakritikovat(mes_prefix.toLowerCase()) != prefix) return void runEvent("message", [mes]);
|
||||
if (!komandSDiakritikou) return void mes.channel.send("coe voe");
|
||||
|
||||
const komand = oddiakritikovat(komandSDiakritikou).toLowerCase();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user