magic command

This commit is contained in:
Alex Brow 2020-02-17 23:52:38 -05:00
parent 0ff159a053
commit 95b333a24d
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 3 additions and 1 deletions

View File

@ -210,7 +210,9 @@ client.on("message", async message => {
let rate = Math.floor(Math.random() * (max - min) + min); //The maximum is exclusive and the minimum is inclusive
return message.reply(`The squad rates this ${rate} out of 10`);
};
if(command === "magic") {
return message.channel.send("Do you believe in magic in a young girl's heart\nHow the music can free her, whenever it starts\nAnd it's magic, if the music is groovy\nIt makes you feel happy like an old-time movie\nI'll tell you about the magic, and it'll free your soul\nBut it's like trying to tell a stranger \'bout rock and roll\'"}
}
});
client.login(config.token);