toolboxplusplus

2.0.2 • Public • Published

Toolbox Plus Plus manual

Made with ❤ by fedora.

To install do:

const toolbox = require("toolboxplusplus")

To use do:

const Discord = require("discord.js");
const toolbox = require("toolboxplusplus");
const client = new Discord.Client();
const toolclient = new toolbox(toolbox)

toolclient.login("bot-token-here")
client.login("bot-token-here")

Sending msgs via a webhook

const Discord = require("discord.js");
const toolbox = require("toolboxplusplus");
const client = new Discord.Client();
const toolclient = new toolbox(toolbox)

toolclient.login("bot-token-here") // Logs in via the provided token for the functions to work.
client.login("bot-token-here") // Logs in with discord client.


toolclient.webhook("webhookid-here", "webhooktoken-here", "message-here") // Sends a message using the details of the webhook.

If you do not specify a bot token then it will keep returning a error!

Readme

Keywords

none

Package Sidebar

Install

npm i toolboxplusplus

Weekly Downloads

8

Version

2.0.2

License

ISC

Unpacked Size

6.22 kB

Total Files

11

Last publish

Collaborators

  • fedoragamingyt