diff --git a/modules/wordbyword/index.js b/modules/wordbyword/index.js index 1d24b02..b63568d 100644 --- a/modules/wordbyword/index.js +++ b/modules/wordbyword/index.js @@ -24,7 +24,7 @@ module.exports = function (bot, api) { } else { bot.currentWBW += args[1] + ' '; 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); } }