Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

redfox-studios/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordBot

GitHub release GitHub issues GitHub license

Welcome to DiscordBot, a customizable Discord bot developed by RedFox Studios. Designed to be flexible and efficient, this bot provides an array of commands that enhance your Discord server experience.

Table of Contents

Features

  • 🛠️ Easily extendable commands
  • ⚙️ Configurable settings via config.json
  • đź“ś Modular command structure

Installation

To set up and run DiscordBot on your local environment, follow these steps:

  1. Clone the repository:

    git clone https://github.com/RedFox-Studios/DiscordBot.git
    cd DiscordBot
  2. Install dependencies:

    npm install
  3. Configure the bot:
    Edit config.json with your bot token and other configuration details.

  4. Start the bot:

    node index.js

Configuration

Edit the config.json file to customize bot settings, including the Discord bot token and command prefixes. Make sure to keep this file secure.

Example config.json:

{
    "token": "BOT_TOKEN",
    "prefix": "!",
    "clientId": "CLIENT_ID"
}

Usage

The bot comes with a set of pre-configured commands found in the commands/ directory. You can add or modify commands as needed.

Contributing

We welcome contributions! Please fork the repository and create a pull request with your changes. Be sure to follow coding standards and add documentation as necessary.

License

This project is licensed under the terms of the MIT License.


requirements.txt

If it’s a Node.js bot, you won’t need requirements.txt (that’s for Python). Instead, use package.json to list dependencies like "discord.js" for Node.js bots. If you don’t have package.json yet, run this:

npm init -y
npm install discord.js dotenv

This creates package.json with your dependencies (which acts like requirements.txt in Python).