Socket
Book a DemoInstallSign in
Socket

discord-helper.js

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-helper.js

a helper to help you do simple tasks with discord.js

6.1.0
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

ram-api.js


Discord server npm version npm downloads Tests status

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

FAQs

Package last updated on 27 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.