mirror of
https://github.com/danbulant/ssps-bot
synced 2026-07-07 20:10:34 +00:00
pog
This commit is contained in:
parent
d84f441489
commit
2e9570a27d
1 changed files with 12 additions and 0 deletions
12
index.js
12
index.js
|
|
@ -45,6 +45,18 @@ client.on("commandRun", (c, p, msg, args) => {
|
||||||
console.log(`[RUN]: ${msg.author.tag}@${msg.guild?.name || "DM"}#${msg.channel?.name || "default"}/${c.groupID}/${c.name}?${serializeArgs(args)} | ${msg.content}`);
|
console.log(`[RUN]: ${msg.author.tag}@${msg.guild?.name || "DM"}#${msg.channel?.name || "default"}/${c.groupID}/${c.name}?${serializeArgs(args)} | ${msg.content}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
client.on("message", (msg) => {
|
||||||
|
if(msg.guild && msg.guild.id === "854063584007028737") {
|
||||||
|
if(Math.random() * 100 < 3) {
|
||||||
|
if(Math.random() * 2 < 1) {
|
||||||
|
msg.channel.send("Sám si " + msg.content);
|
||||||
|
} else {
|
||||||
|
msg.channel.send("Tvoje máma " + msg.content);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
client.registry
|
client.registry
|
||||||
.registerGroups([
|
.registerGroups([
|
||||||
["ssps", "Příkazy pro SSPŠ"],
|
["ssps", "Příkazy pro SSPŠ"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue