Skip to content

rakaxlfux/Economy-Bot-Template

 
 

Repository files navigation

Economy-Bot-Template

Template for a discord economy bot

Commiting to the project

This project is opensource, feel free to adding modules, documentation or upgrading my code, just send a merge request and I'll review it.

FAQ

  1. I want to use this template for my own bot, but I don't know if it's allowed.

You can use the template as long as you credit the creator of it, so just don't delete or edit the "Made by:..." comments.

  1. Is the project opensource?

Yes.

Usage

  1. Clone this repository to your local computer or download the latest version manually.
git clone https://github.com/PolishKebab/Economy-Bot-Template
  1. Download Node.js version 18.7 and higher
  2. Create a npm project inside the folder and install all needed modules
npm init -y
npm i
  1. Configure config.json
{
    "token":"Bot token here", // Insert your discord bot token here
    "modules":{ // change module to true to enable, or false to disable
      "main":true, // main module, it gives access to the admin,balance and leaderboard commads 
      "messageEarn":false, // module that rewards users for sending messages
      "poke":false, // module for Poketwo and Pokestats bots 
      "store":false, // module that allows users to buy items from the store
      "API":false, // module for web access to bot, allowing to view user data via website
      "Authentication":false, // module for authentication, it is needed for the API module
      "inventory":false // module for storing user items, needed for the store module
      }
}
  1. Run the bot
node index.js
  1. Enjoy.

About

Economy Bot Template

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.1%
  • EJS 4.8%
  • CSS 1.1%
  • Other 1.0%