2.0.1 โ€ข Published 8 months ago

discord-starboard-plus v2.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

โญ Discord Starboard Plus

Discord Server npm version npm downloads GitHub license

Effortlessly highlight your community's favorite messages with customizable starboards. Pin and celebrate standout content, tailor reaction requirements, add personalized messages, and enjoy detailed logging. Showcase your server's best moments and engage with members like never before. Turn your Discord server into a star-studded community with Starboard Plus!

BIG UPDATES : New edit message system, more configuration, add message, image, custom emoji and videos !

๐Ÿช Table of Contents

๐Ÿ“‘ Overview

The Discord Starboard Plus is a powerful and customizable Discord bot module that allows you to create starboards for your server. Whether you want to highlight memorable messages, pin important content, or engage with your community, Starboard Plus has got you covered. With features like customizable star emojis, reaction requirements, personalized messages, and detailed logging, you can easily turn your server into a star-studded community.

๐Ÿš€ Features

  • Customizable Starboards: Create multiple starboards with different settings to highlight various types of content.
  • Reaction Requirements: Set the number of reactions required for a message to appear on the starboard.
  • Personalized Messages: Add custom messages to your starboard entries to engage with your community.
  • Logging: Detailed logging options to keep track of starred messages and bot actions.
  • Ignore Configuration: Configure which channels or guilds to ignore when monitoring reactions.

๐Ÿ—๏ธ Project Structure

Your package directory structure should resemble the following:

discord-starboard-plus/
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ starboard.js
โ”œโ”€โ”€ exemple.js
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿงฉ Modules

  • starboard.js: The main module containing the Starboard class and logic for managing starboards.

๐Ÿ› ๏ธ Getting Started

๐Ÿ”Œ Prerequisites

Before you begin, ensure you have the following prerequisites:

  • Node.js installed on your machine.

โฌ‡๏ธ Installation

  1. Install the discord-starboard-plus package using npm:
npm install discord-starboard-plus

๐Ÿ“– Usage

To use Discord Starboard Plus in your bot, you need to create an instance of the Starboard class and pass the necessary options.

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

const client = new Client({
  intents: [
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.GuildMessageReactions,
    GatewayIntentBits.MessageContent,
    GatewayIntentBits.GuildMembers,
    GatewayIntentBits.GuildPresences,
  ],
});

const starboardOptions = {
  starboardChannelID: 'YOUR_STARBOARD_CHANNEL_ID',
  requiredReactions: 1, // Default : '1'
  starEmoji: 'STAR_EMOJI' // Default : 'โญ' (for custom emoji need to use only name of emoji)
  // Add other options as needed 
};

client.once('ready', () => {
  console.log(`Logged in as ${client.user.tag}`);
  const starboard = new Starboard(client, starboardOptions);
});

client.login('YOUR_BOT_TOKEN');

๐Ÿงช Running Tests

Tests for Discord Starboard Plus can be run using a testing framework like Mocha or Jest. Make sure to set up appropriate testing scenarios and assertions for your specific use case.

โšก TO-DO

  • Add custom options.
  • Create README.
  • Add starboard with image and new options.
  • Add new embed message.
  • Patch configurations.
  • Patch edit embed message.
  • Adding videos, image, custom emoji.
  • Enable ignore guilds configuration and add more.

๐Ÿค Contributing

Contributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request in github repo.

๐Ÿ“„ License

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

๐Ÿ‘ Credits

All rights to this project are owned and all created by glamgar.