FFS I cannot code for shit
parent
9ba6185335
commit
604fe3fd10
|
@ -24,7 +24,7 @@ module.exports = function (bot, api) {
|
||||||
} else {
|
} else {
|
||||||
bot.currentWBW += args[1] + ' ';
|
bot.currentWBW += args[1] + ' ';
|
||||||
api.respond(message, printf(api.strings.WBW_NEW_WORD))
|
api.respond(message, printf(api.strings.WBW_NEW_WORD))
|
||||||
api.speak(bot.currentWBW)
|
api.speak(message.member.voice.channel, bot.currentWBW)
|
||||||
await api.db.run('update BotState set value=? where key="last_wbw"', message.author.id);
|
await api.db.run('update BotState set value=? where key="last_wbw"', message.author.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue