From 604fe3fd10475565d707e7099e594d6e6b1556dc Mon Sep 17 00:00:00 2001 From: guilevi Date: Fri, 5 Nov 2021 02:36:07 +0100 Subject: [PATCH] FFS I cannot code for shit --- modules/wordbyword/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }