Skip to content

Commit

Permalink
Merge pull request #12 from TimboKZ/dev
Browse files Browse the repository at this point in the history
NPM version badge, better linting
  • Loading branch information
TimboKZ authored Apr 2, 2017
2 parents ea36846 + 5cf5076 commit a7e6cbf
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"sourceType": "module"
},
"rules": {
"eol-last": 1,
"indent": [
"error",
4
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Discord Spoiler Bot

[![npm](https://img.shields.io/npm/v/discord-spoiler-bot.svg)](https://www.npmjs.com/package/discord-spoiler-bot)
[![npm](https://img.shields.io/npm/dt/discord-spoiler-bot.svg)](https://www.npmjs.com/package/discord-spoiler-bot)
![npm dependencies](https://david-dm.org/TimboKZ/discord-spoiler-bot.svg)

Expand Down
1 change: 0 additions & 1 deletion src/DiscordClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/

const DiscordJS = require('discord.js');
const DiscordIO = require('discord.io');

const DISCORD_JS = 'discord.js';
const DISCORD_IO = 'discord.io';
Expand Down
2 changes: 1 addition & 1 deletion src/GifGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,4 @@ class GifGenerator {

}

module.exports = GifGenerator;
module.exports = GifGenerator;
2 changes: 0 additions & 2 deletions src/SpoilerBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
'use strict';

const fs = require('fs');
const DiscordJS = require('discord.js');
const DiscordIO = require('discord.io');
const DiscordClient = require('./DiscordClient');
const GifGenerator = require('./GifGenerator');

Expand Down
2 changes: 2 additions & 0 deletions test/integration/config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* @license MIT
*/

const SpoilerBot = require('../../src/SpoilerBot');

module.exports = {
token: 'your_bot_token_here',
markUserIds: [
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/GifGeneratorTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ describe('GifGenerator', () => {
done();
});
});
});
});

0 comments on commit a7e6cbf

Please sign in to comment.