8000 GitHub - Zelzahn/Moleskine: A discord bot for the popular Belgian tv show "De Mol"
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Zelzahn/Moleskine

Repository files navigation

Moleskine

A discord bot for the popular Belgian tv show "De Mol" (invite link)

ES6

As node doesn't support ES6 out of the box (and type: module not a clean solution is) this bot uses rimraf and babel to automatically transpile the code.

Logging

This project uses Winston for logging. The only supported levels are: error, warn and info. Please do not use any of the other levels when contributing. It is automatically set up such that while developing the logs are printed to stdout and in production these are written to moleskine.log.

How to run locally

  1. Fill the config.json in as shown in template.config.json
  2. Install the dependencies
  3. Run npm run watch:devto run the bot

Publishing

Publishing is as simple as making the config.json and running npm run prod.

Screen

The usage of screen is recommended above nohup, as nohup errors with the current npm setup. To use screen for continuous running on your server follow these steps:

  1. Make sure you have screen installed with screen --version
  2. Run screen -S moleskine to start a named session with the name "moleskine"
  3. Follow the steps mentioned in publishing
  4. To exit the sessions press Ctrl-a followed by Ctrl-d

In the case that you want to restart the bot, or shut it down, you can resume the screen with: screen -r moleskine.

Bot usage

The default prefix is '?'. To change this set the owners setting manually in your MongoDB (Atlas) instance, then issue the setSetting command.

To get a list of all available commands run: [prefix]help.

About

A discord bot for the popular Belgian tv show "De Mol"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0