Update 'node/boto.js'
This commit is contained in:
parent
2adb0a7b99
commit
241285ddfa
16
node/boto.js
16
node/boto.js
|
@ -37,6 +37,11 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
|
|
||||||
// CHAT COMMANDS | Start
|
// CHAT COMMANDS | Start
|
||||||
|
|
||||||
|
// The Color
|
||||||
|
if(command === 'color') {
|
||||||
|
client.say(channel, `/color ${args.join(' ')}`);
|
||||||
|
client.say(channel, `/me Bleep! Bloop! @${tags.username} has changed my color to ${args.join(' ')}`);
|
||||||
|
}
|
||||||
// CORD
|
// CORD
|
||||||
if(command === 'cord' ||
|
if(command === 'cord' ||
|
||||||
command === 'discord') {
|
command === 'discord') {
|
||||||
|
@ -45,12 +50,19 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
if(command === 'dice' ||
|
if(command === 'dice' ||
|
||||||
command === 'roll') {
|
command === 'roll') {
|
||||||
const result = Math.floor(Math.random() * 6) + 1;
|
const result = Math.floor(Math.random() * 6) + 1;
|
||||||
client.say(channel, `@${tags.username}, You rolled a ${result}.`);
|
client.say(channel, `@${tags.username} has rolled a ${result}! Praise RNGesus!`);
|
||||||
}
|
}
|
||||||
// DOJO
|
// DOJO
|
||||||
if(command === 'dojo' ||
|
if(command === 'dojo' ||
|
||||||
command === 'lessons') {
|
command === 'lessons') {
|
||||||
client.say(channel, `/me The Dojo by Sarimoko a collection of coarses, guides, lessons, & tutorials available at: https://dojo.sarimoko.com/`);
|
client.say(channel, `/me The Dojo | Get 1on1 training from Sarimoko or browse his collection of DIY coarses, guides, lessons, & tutorials available at: https://dojo.sarimoko.com/`);
|
||||||
|
}
|
||||||
|
// TUNE
|
||||||
|
if(command === 'tune' ||
|
||||||
|
command === 'lyrics' ||
|
||||||
|
command === 'midi' ||
|
||||||
|
command === 'tabs') {
|
||||||
|
client.say(channel, `/me The Tune | Lyrics, MIDI, Tabs, & more hosted on Git written in Markdown available at: https://dojo.sarimoko.com/`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// CHAT COMMANDS | End
|
// CHAT COMMANDS | End
|
||||||
|
|
Loading…
Reference in New Issue