npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

discord-starboard-plus

v4.0.0

Published

Discord Starboard Plus: A clean, maintainable starboard system for Discord.js bots. Features per-guild configuration, TypeScript support. Highlight your community's favorite messages with customizable starboards.

Downloads

240

Readme

⭐ Discord Starboard Plus

npm version npm downloads GitHub license

A modern, TypeScript-first starboard system for Discord.js v14.25+. Highlight your community's favorite messages with customizable starboards, per-guild configuration, and Components V2 support.

UPDATED ON 20/12/2025

🪐 Table of Contents

🚀 Features

  • TypeScript Support - Full type definitions included
  • Per-Guild Configuration - Different settings for each server
  • Components V2 - Modern Discord UI with containers and media galleries
  • Smart Search - Paginated search (500+ messages) with ID-based matching
  • GIF & Video Support - Properly handles all media types
  • Memory Safe - Proper event listener cleanup with destroy() method
  • Custom Emojis - Use any emoji for starring messages

⬇️ Installation

npm install discord-starboard-plus

Requirements: Node.js 18+ and discord.js 14.25+

📖 Usage

const { Client, GatewayIntentBits, Partials } = require('discord.js');
const { Starboard } = require('discord-starboard-plus');

const client = new Client({
  intents: [
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.GuildMessageReactions,
    GatewayIntentBits.MessageContent,
  ],
  partials: [Partials.Message, Partials.Channel, Partials.Reaction],
});

client.once('ready', () => {
  const starboard = new Starboard(client, {
    starboardChannelID: 'YOUR_CHANNEL_ID',
    requiredReactions: 3,
    starEmoji: '⭐',
    useComponentsV2: true,
  });
});

client.login('YOUR_BOT_TOKEN');

⚙️ Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | starboardChannelID | string | required | Channel ID for starboard posts | | requiredReactions | number | 1 | Minimum reactions to post | | starEmoji | string | '⭐' | Emoji to watch for | | ignoreBots | boolean | true | Ignore bot reactions | | ignoreSelf | boolean | false | Ignore author self-reactions | | ignoredChannels | string[] | [] | Channel IDs to ignore | | ignoreGuilds | string[] | [] | Guild IDs to ignore | | updateOnReaction | boolean | true | Update count on reaction change | | logActions | boolean | true | Log to console | | embedColor | number | 0xFFAC33 | Embed color (hex) | | maxAttachments | number | 4 | Max attachments to show | | allowNSFW | boolean | false | Allow NSFW channel messages | | jumpToMessage | boolean | true | Add jump link | | showMessageDate | boolean | true | Show message date | | maxSearchDepth | number | 500 | Max messages to search | | useComponentsV2 | boolean | false | Use Discord Components V2 |

🌐 Per-Guild Configuration

const starboard = new Starboard(client, defaultOptions);

// Set custom config for a specific guild
starboard.setGuildConfig('GUILD_ID', {
  starboardChannelID: 'DIFFERENT_CHANNEL_ID',
  requiredReactions: 5,
  starEmoji: '🌟',
});

// Get guild config
const config = starboard.getGuildConfig('GUILD_ID');

// Remove custom config (falls back to defaults)
starboard.removeGuildConfig('GUILD_ID');

🎨 Components V2

Enable modern Discord UI with containers, sections, and media galleries (discord.js 14.19+):

new Starboard(client, {
  starboardChannelID: 'YOUR_CHANNEL_ID',
  useComponentsV2: true,
});

📘 TypeScript

import { Starboard, StarboardOptions } from 'discord-starboard-plus';

const options: StarboardOptions = {
  starboardChannelID: '123456789',
  requiredReactions: 3,
};

const starboard = new Starboard(client, options);

🧹 Cleanup

// Remove event listeners on shutdown
starboard.destroy();

🤝 Contributing

Contributions are welcome! Open an issue or submit a pull request on GitHub.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👏 Credits

Created by glamgar