toolboxplusplus
v2.0.2
Published
toolboxplusplus allows you to use discord.js easier
Downloads
5
Readme
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.