6.1.0 • Published 2 months ago
discord-helper.js v6.1.0
About this package
We understand JavaScript can be hard especially with discord.js. This package has logs and a send webhook to send discord embeds to a discord webhook! IT EVEN HAS MATH!!!!!!
Install
npm i discord-helper.js
or yarn add discord-helper.js
Example
// these are just examples please provide the actual info
import * as discordHelper from "discord-helper.js"; // typescript
let guildid = "Guild Id Here";
const discordHelper = require("discord-helper.js"); // javascript
new discordHelper.HelperClient(client).GlobalcommandRegisterAsync({
name: "hello",
description: "command",
options: [],
type: "Optinal",
permission: "Administrator",
});
new discordHelper.HelperClient(client).GuildcommandRegisterAsync(guildid, {
name: "hello",
description: "command",
options: [],
type: "Optinal",
permission: "Administrator",
});
new discordHelper.HelperClient(client)
.clientPing()
.then((data) => {
console.log(data);
})
.catch((err) => {});
new discordHelper.HelperClient(client).threadCreateAsync(
"name",
channel,
message,
guild
);
new discordHelper.HelperClient(client).channelsend(channel, "", embed);
new discordHelper.HelperUtils()
.math(1, 2)
.then((data) => {
console.log(data);
})
.catch((err) => {});
new discordHelper.HelperUtils()
.pages(array, 1, 1)
.then((data) => {
console.log(data);
})
.catch((err) => {});
new discordHelper.HelperUtils()
.permCheckerAsync(perm, member, channel)
.then((data) => {
console.log(data);
})
.catch((err) => {});
new discordHelper.HelperUtils().discordsendwebhook(webhookURL, "", embed);
Support
email : support@gamearoo.dev
discord: https://discord.gg/tUpsrAmkqp
6.1.0
2 months ago
6.0.2
2 months ago
6.1.0-dev.3
2 months ago
6.0.1
2 months ago
6.1.0-dev.1
2 months ago
6.1.0-dev.2
2 months ago
5.1.5
9 months ago
5.1.4
9 months ago
5.1.3
9 months ago
5.1.2
9 months ago
6.0.0
8 months ago
6.0.0-dev.1
8 months ago
5.1.1
12 months ago
5.1.0
12 months ago
5.0.0
12 months ago
4.0.1
1 year ago
4.0.0
1 year ago
3.0.1
2 years ago
3.0.0-beta.3
2 years ago
3.0.1-beta.4
2 years ago
3.0.1-beta.5
2 years ago
3.0.0
2 years ago
3.0.1-beta.6
2 years ago
3.0.1-beta.7
2 years ago
3.0.1-beta.8
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.1.2
2 years ago
1.0.0
2 years ago