$ cd folder/where/i/want/bot
$ git clone https://github.com/datitisev/DiscordBot-MDN.git
Please use an ESLint plugin for your editor, and use the current configuration (located in .eslintrc
).
Yappy GitLab needs the following environment variables:
- REQUIRED
MDN_DISCORD_TOKEN
- discord bot token - OPTIONAL
TRACE_API_KEY
- trace API key for mem leak detection :)
MDN also needs to be run with NodeJS v7 and the --harmony
flag.
An example on running the bot:
$ MDN_DISCORD_TOKEN=mfa-l0l node --harmony index.js