weird naming 💀 changing !bot.options.Core.CorelessMode to bot.options.Core.CorelessMode

This commit is contained in:
4Parker02991 2024-01-27 09:44:01 -05:00
parent 4dfade48bb
commit 09d257a0b4

View file

@ -132,7 +132,7 @@ const ChatMessage = require('prismarine-chat')(bot.options.version)
bot.commandManager.executeString(source, message.content.substring(bot.discord.commandPrefix.length))
return
}
if(!bot.options.Core.CorelessMode){
if(bot.options.Core.CorelessMode){
bot.chat(`&8[&5FNF&bBoyfriend&4Bot &9Discord&8] ${message.member.displayName.replaceAll('\xa7', '&')}&f ${message.content.replaceAll('\xa7', '&')}`)
}else{
bot.tellraw({