M README.md => README.md +4 -0
@@ 64,6 64,10 @@ Motivate Julien
Gives an help message to the viewers.
+**!jdb criss**
+
+Generates a Quebecer curse sentence if lorembarnak is enabled.
+
# License
See [LICENSE](LICENSE) for all code except for the function
M lib/bot.test.js => lib/bot.test.js +1 -1
@@ 296,6 296,6 @@ describe('commands handler', () => {
await client.emit('message', channel, {username: 'user'}, '!jdb help', false)
- expect(client.say).toHaveBeenCalledTimes(8)
+ expect(client.say).toHaveBeenCalledTimes(9)
})
})
M lib/commands.js => lib/commands.js +1 -0
@@ 84,6 84,7 @@ const commandHelp = async (client, channel) => {
await client.say(channel, `motivate Affiche un message de motivation pour Julien`)
await client.say(channel, `record Incrémente le nombre de mort de Julien`)
await client.say(channel, `total Affiche le compte de mort de Julien depuis qu'il stream`)
+ await client.say(channel, `criss Affice une phrase composé de sacre Québecois (si activé)`)
}
// commandRecord records a new death for today's date
M lib/commands.test.js => lib/commands.test.js +1 -1
@@ 231,7 231,7 @@ describe('help command', () => {
await commandHelp(client, channel)
- expect(client.say).toHaveBeenCalledTimes(8)
+ expect(client.say).toHaveBeenCalledTimes(9)
})
})