https://github.com/slice/eslint-discord
A Discord bot that is hooked up to ESLint. Screams at every JavaScript codeblock. Made in 40 minutes.
https://github.com/slice/eslint-discord
bot discord discord-bot eslint
Last synced: about 1 year ago
JSON representation
A Discord bot that is hooked up to ESLint. Screams at every JavaScript codeblock. Made in 40 minutes.
- Host: GitHub
- URL: https://github.com/slice/eslint-discord
- Owner: slice
- License: mit
- Created: 2017-10-31T06:44:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-31T06:55:30.000Z (over 8 years ago)
- Last Synced: 2025-01-21T16:24:07.176Z (about 1 year ago)
- Topics: bot, discord, discord-bot, eslint
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-discord
A Discord bot that is hooked up to ESLint. It yells at everyone that posts
bad JavaScript codeblocks.
Initial version made in 40 minutes.
## Getting Started
Why?
Create `creds.json` alongside `bot.js`:
```json
{
"token": "...",
"channels": ["...", "..."]
}
```
- `token` [`String`]: The Discord bot token to use.
- `channels` [`Array`]: The array of channel IDs to operate in.
Then, `node bot.js`.
### Getting the bot to ignore you
Send `fuck off eslint`. The bot will now ignore you until a reboot.
Only for last resort.
## Technologies Used
- Discord.js
- ESLint
## License
MIT (See `LICENSE`).