mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-06-03 12:50:43 +00:00
mmm
This commit is contained in:
parent
a12a8bbd2f
commit
1254e773df
|
@ -306,6 +306,11 @@ client.on("message", async message => {
|
||||||
let number = Math.floor(Math.random() * (max - min) + min) //The maximum is exclusive and the minimum is inclusive
|
let number = Math.floor(Math.random() * (max - min) + min) //The maximum is exclusive and the minimum is inclusive
|
||||||
return message.channel.send(quotes[number])
|
return message.channel.send(quotes[number])
|
||||||
}
|
}
|
||||||
|
if (command === "fix") {
|
||||||
|
if(!message.member.roles.some(r=>["Botmeister"].includes(r.name))) {
|
||||||
|
return message.reply("I guess it\'s my fault will fix.");
|
||||||
|
};
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
client.login(config.token);
|
client.login(config.token);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user