if you spink, message "more" is nolonger allowed
This commit is contained in:
parent
3f3a1253a8
commit
1cf36fe516
@ -123,7 +123,10 @@ client.on("messageCreate", async mes => {
|
|||||||
|
|
||||||
const [mesPrefix, komandSDiakritikou, ...args] = mes.content.split(" ");
|
const [mesPrefix, komandSDiakritikou, ...args] = mes.content.split(" ");
|
||||||
if (oddiakritikovat(mesPrefix.toLowerCase()) != prefix) return void runEvent("message", [mes]);
|
if (oddiakritikovat(mesPrefix.toLowerCase()) != prefix) return void runEvent("message", [mes]);
|
||||||
if (!komandSDiakritikou) return void mes.channel.send("coe voe");
|
if (!komandSDiakritikou) {
|
||||||
|
if (!runEvent("message", [mes])) mes.channel.send("coe voe");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const celArgs = args.join(" ");
|
const celArgs = args.join(" ");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user