eggs/bots/discord/nodemon.js
2022-08-10 22:50:22 +02:00
..
egg-nodemon.json Changed the author mail to the active mail 2022-08-10 22:50:22 +02:00
README.md added blank lines as needed 2021-12-09 08:32:29 -05:00

nodemon.js

Tired of manually restarting your bot? Nodemon will do it by itself.

Nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected. Nodemon does not require any additional changes to your code or method of development.

This egg is designed to run any generic Javascript application, allowing users to pull their own javascript discord bot from a Github repository.

There is an option to allow a user to upload their own files to run a bot.

The startup configs and commands may need changing to actually function properly.

Configuration

The server will be stuck as starting until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running. image

You can use arrays to have multiple different values when different bots are being used

{
  "done":[
    "change this text 1",
    "change this text 2"
  ]
}