Skip to content

GNOME Nepal Discord Bot. This project is dedicated to creating a multi-functional Discord bot tailored for the GNOME community in Nepal.

License

Notifications You must be signed in to change notification settings

NightSling/gnome-discord-bot-fork

 
 

Repository files navigation

GNOME Nepal Discord Bot

License: MIT Discord

GNOME Nepal Logo

A Discord bot specifically designed for the GNOME Nepal community server, featuring role-based commands and community engagement tools.

Overview

This Discord bot is built using:

Quick Start

  1. Clone and install dependencies:

    git clone https://github.com/GNOME-Nepal/discord-bot.git
    cd discord-bot
    npm install
  2. Create a config.json file with your Discord credentials. You can simply rename the provided .config.json template file:

    cp .config.json config.json

    Then edit the config.json file with your actual credentials.

  3. Validate configuration and start the bot:

    npm run ttest   # Validate token configuration
    npm run dev     # Start in development mode

Commands

The bot supports two types of commands:

  1. Slash Commands: Available to all users (use /help to see the list)

    • Examples: /report, /about, /contributors, /meme, /social
  2. Role-based Commands: Access depends on user roles

    • Members: sudo help
    • Contributors: $sudo help
    • Maintainers: $packman help

Project Structure

  • index.js: Main bot script
  • .config.json: Template configuration file
  • config.json: Your actual configuration file (gitignored)
  • commands.js: Command definitions
  • Src/: Command implementations
    • Src/Slash-Commands/: Slash commands
    • Src/Member/, Src/Contributor/, Src/Maintainer/: Role-based commands

Testing

Run tests with:

node tests/commandtest.js

Contributing

We welcome contributions to enhance this project! Whether you're fixing bugs, adding new features, or improving documentation, your help is appreciated.

For detailed guidelines, check out our contributing Guidelines.

License

This project is licensed under the MIT LICENSE.

About

GNOME Nepal Discord Bot. This project is dedicated to creating a multi-functional Discord bot tailored for the GNOME community in Nepal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Dockerfile 0.2%