0.0.2 • Published 5 years ago

discord.js-quick.math v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

#DISCORD.JS-QUICK.MATH

in new in verison 0.0.2

-README.md file

#HOW TO USE

const discord = require('discord.js')
const math = require('discord.js-quick.math')

const client = new discord.Client();

client.on('ready', () => {
console.log('BOT IS ONLINE AND READY')
})

client.on('message', async message => {
if (message.content === "math 100 * pi") {
message.channel.send(`${math.QMath1} THAT'S 100 * π(pi)`)


} else if (message.content === "math 10 * pi") {
message.channel.send(`${math.QMath2} THAT'S 10 * π(pi)`)
} else if (message.content === "math 5 * pi") {
message.channel.send(`${math.QMath3} THAT'S 5 * π(pi)`)
}
})

client.log('YOUR BOT TOKEN HERE')

#OTHER STUFF -math.Creator -math.QMath1 -math.QMath2 -math.QMath3