A Discord bot that is hooked up to ESLint. It yells at everyone that posts bad JavaScript codeblocks.
Initial version made in 40 minutes.
Why?
Create creds.json alongside bot.js:
{
"token": "...",
"channels": ["...", "..."]
}token[String]: The Discord bot token to use.channels[Array<String>]: The array of channel IDs to operate in.
Then, node bot.js.
Send fuck off eslint. The bot will now ignore you until a reboot.
Only for last resort.
- Discord.js
- ESLint
MIT (See LICENSE).