vacuumlabs / obedbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

obedbot

Because ordering lunches is just way too hard.

How to set it up

You need a working installation of Node.js, preferably in version 8.1.3+.

Copy .env.template into .env and fill it in with your information. OBEDBOT_CHANNEL_ID is the id of the channel which the bot should be monitoring. OBEDBOT_DEV disables some messages, so that development does not bother users and determines whether to use transpiled code from build or directly from src with babel-watch.

For production

git clone https://github.com/vacuumlabs/obedbot.git && cd obedbot
cp obedbot-template.db obedbot.db
cp .env.template .env
yarn
yarn start

For development - do not forget to set OBEDBOT_DEV and tokens correctly!

git clone https://github.com/vacuumlabs/obedbot.git && cd obedbot
cp obedbot-template.db obedbot.db
cp .env.template .env
yarn
yarn run dev

About

License:MIT License


Languages

Language:JavaScript 83.5%Language:Pug 15.5%Language:CSS 1.1%