Calculator

Documentation for the calculator function

This is how this function will look like.

Example

const client = // your client
const addon = require("@pgamerx/djs-addon")

addon.calculator(message/* or*/ interaction {
slash: true, // A boolean, true for yes, false for no.
embedColor: hex_code, // The Embed Color of the calculator embed, default: #075FFF
credit: true // Credit the package. (Only Boolean [true/false])
embedFooter: "Something" // Have Custom Calculator footer when credits are false
})

Parameters Guide

Name
Type
Required
Default

slash

boolean

false

embedColor

HexCode

#075FFF

credit

boolean

true

embedFooter

string

N.A

Last updated

Was this helpful?