Skip to content

A modular Discord bot written with Discord.js

License

Notifications You must be signed in to change notification settings

consoleSkunk/Amethyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amethyst

A modular Discord bot written with Discord.js

Getting Started

  1. Install Node.js if it hasn't been installed yet.
  2. Clone the repository: git clone https://github.com/consoleSkunk/Amethyst
  3. Rename config.example.json and filter.example.json in config to config.json and filter.json respectively, and modify them accordingly.
  4. Do npm install to install the required dependencies.
  5. Set the DISCORD_TOKEN environment variable:
    1. set DISCORD_TOKEN=<your token> on Windows
    2. export DISCORD_TOKEN="<your token>" on Mac/Linux
  6. Now start the bot by doing either:
    1. npm start
    2. Install PM2 or another process manager: npm install -g pm2, and run it using pm2 start package.json.
      Make sure you unset the DISCORD_TOKEN variable afterwards.

Credits

  • Yoshi-Bot by Woofie-Woof
    Originally started as a fork of this bot, and as a result, some code is still used from it.
  • selfbit by Ahe4d (ISC License)
    Code was reused to make the bot modular.