Skip to content

fjerbaek/FORMBot

Repository files navigation

FORMBot

A discord bot for TÅGEKAMMERETs discord channel. Created with Discord.js To get understanding of the project, please follow this guide

Dependencies

Usage

To run this bot do either of the follwing:

Without docker and docker-compose

  • Install node.js
  • Install mongodb
  • OPTIONAL: npm install nodemon --global If you want nodemon to rerun bot on file changes
  • npm install
  • Setup config.json_template and rename to config.json
  • Run instance of mongod
  • Run mongo < dbsetup.js
  • Run node bot.js or nodemon bot.js

With docker and docker-compose

  • Setup config.json_template and rename to config.json
  • Run docker-compose up
  • Run docker-compose exec mongodb mongo < dbsetup.js (Only on first run)
  • Run docker-compose down to stop the bot

Nodemon configuration

If using nodemon (The docker setup does so), you can setup nodemon.json to watch files and automatically reload them on save. To do so, delete the line "ignore":"[*]" and add files/paths to watch to watch.

About

A discord bot for TÅGEKAMMERETs discord channel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •