discord.js-quick.math

0.0.2 • Public • Published

#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

Package Sidebar

Install

npm i discord.js-quick.math

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

1.91 kB

Total Files

4

Last publish

Collaborators

  • ytygrunn1ngark456