Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

discord-starboard

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-starboard

Easy to use discord.js starboard package for your bot! Uses discord.js v13.

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Discord Starboard


Easy to use discord.js starboard package for your bot! Uses discord.js v13.

Getting Started

  • Discord Starboard
  • Got some errors/bugs?

Installation

npm install discord-starboard

Usage

NOTE: Partial are required!

const { StarboardClient } = require("discord-starboard");
const Discord = require("discord.js");
const client = new Discord.Client({
  intents: 32767,
  partials: ["MESSAGE", "REACTION"],
});

client.on("ready", () => {
  console.log(`Logged in as ${client.user.tag}!`);
});
const object = {
  starboardChannel: "id", //required
  starCount: "1", // required
  emoji: "✅", // optional defualt ⭐
};
const starboard = new StarboardClient(client, {
  debug: false, //optional default true
});
client.on("messageReactionAdd", (reaction, user) => {
  starboard.listnerAdd(reaction, object);
});
client.on("messageReactionRemove", (reaction, user) => {
  starboard.listnerRemove(reaction, object);
});
client.login("I wonder whats this?");

Got some errors/bugs?

Join here for help.

FAQs

Package last updated on 24 Nov 2021

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