From 1b9088c5fbcee31c92a52b00f151e1249e35ab69 Mon Sep 17 00:00:00 2001 From: 4Parker02991 <4parker02991@noreply.localhost> Date: Sat, 27 Jan 2024 11:15:45 -0500 Subject: [PATCH] Update commands/wiki.js --- commands/wiki.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/wiki.js b/commands/wiki.js index 63af0e7..bb857aa 100644 --- a/commands/wiki.js +++ b/commands/wiki.js @@ -30,14 +30,14 @@ function sleep(ms) { /// console.log(summary) // source.sendFeedback({ text: JSON.stringify(summary), color: 'green' }) - if (bot.options.Core.CorelessMode){ + if (!bot.options.Core.enabled){ bot.chat(ChatMessage.fromNotch(await sleep(500) ?? [cmd, { text:summary2, color: 'gray' }]).toMotd().replaceAll('§', '&')) }else{ source.sendFeedback([cmd,{ text:`${summary2}`, color: 'green' }]) } } catch (e) { - if(bot.options.Core.CorelessMode){ + if(!bot.options.Core.enabled){ bot.chat(ChatMessage.fromNotch([cmd, { text: `${e.toString()}`, color: 'red' }]).toMotd().replaceAll('§', '&')) }else{ source.sendFeedback([cmd, { text: `${e}`, color: 'red' }])