Skip to content

Latest commit

 

History

History
94 lines (61 loc) · 2.69 KB

README.md

File metadata and controls

94 lines (61 loc) · 2.69 KB

Phobos

Invite me!

Stupid discord.js bot by MarsRon with even worse code.

Phobos plays music and does useless stuff.
Commands include music, fun, images/GIFs, economy, utility and more.

Started this project since 21 March 2021.

Note: Phobos has not been under active development since 2023. I will continue to patch any major issues, but other than that, there will be no more major updates to the bot. Thank you for your understanding.

Features

  • Music system using DisTube
  • Kazuma AI chatbot command
  • Some fun(?) commands
  • Weird images/GIFs commands
  • Very lacking economy system
  • Stupid, and I mean very stupid, word catchers
  • Some other trash

Tech Stack

Developing

Phobos is created for my own personal use, but feel free to take any inspiration from it.

If you want to create your own Discord bot, I recommend learning from discordjs.guide instead of cloning Phobos.

Clone the repo

$ git clone https://github.com/MarsRon/phobos
$ cd phobos

Install NPM dependencies

$ npm i

Note: If you encounter some issues with node-canvas, try installing the necessary dependencies.

Copy .env.example to .env

$ cp .env.example .env

Put your Discord bot token and MongoDB URL into .env.

Edit src/config.js to your likings.

There might be some other configs in the source code, but I hardcoded them, so umm good luck changing them ¯\_(ツ)_/¯

Start developing

$ npm start

Deploying

I use pm2 to deploy Phobos.

Install pm2 globally

$ npm i -g pm2

Start Phobos

$ pm2 start src/index.js --name phobos --log-date-format YYYY-MM-DD\ HH:mm:ss

Contact

Feel free to contact me at https://marsron.name.my for stuff.

License

This project is licensed under the MIT License. See LICENSE.md for details.