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.
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.
- 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
- Node.js v20+, I recommend using nvm
- FFmpeg install globally, or
ffmpeg-static
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
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
Feel free to contact me at https://marsron.name.my for stuff.
This project is licensed under the MIT License. See LICENSE.md for details.