mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2025-01-06 14:46:21 -05:00
egg
This commit is contained in:
parent
601dc1755a
commit
deb0118652
19
src/index.js
19
src/index.js
@ -132,12 +132,29 @@ client.on("message", async message => {
|
|||||||
return message.reply('https://technicolor.2a03.party/bot/');
|
return message.reply('https://technicolor.2a03.party/bot/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (command === "fix") {
|
if(command === "fix") {
|
||||||
if(message.member.roles.cache.some(r=>["Botmeister"].includes(r.name))) {
|
if(message.member.roles.cache.some(r=>["Botmeister"].includes(r.name))) {
|
||||||
return message.channel.send("I guess it's my fault will fix.");
|
return message.channel.send("I guess it's my fault will fix.");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(command === "va"){
|
||||||
|
let msg = ""
|
||||||
|
let num = Math.floor(Math.random() * (3 - 1) + 1); //The maximum is exclusive and the minimum is inclusive
|
||||||
|
switch(num){
|
||||||
|
case 1:
|
||||||
|
msg = "its simple, mind over matter. i dont mind, and you dont fucking matter";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
msg = "I can eat alphabet soup and shit out a more coherent sentence than you";
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
msg = "you are living proof darwinism is dead, hell, even reversing.";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return message.reply(`${msg}`)
|
||||||
|
}
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
if(command === "say") {
|
if(command === "say") {
|
||||||
// makes the bot say something and delete the message. As an example, it's open to anyone to use.
|
// makes the bot say something and delete the message. As an example, it's open to anyone to use.
|
||||||
|
Loading…
Reference in New Issue
Block a user