Compare commits

...
2 Commits
Author SHA1 Message Date
Parker Griffith bb182ce430 Update src/modules/discord.js 2024-06-06 12:42:49 -04:00
Parker Griffith dc34bfb88f patches 2024-06-06 12:41:55 -04:00
-2
View File
@@ -81,7 +81,6 @@ client.on('ready', (context) => {
try {
if (!bot.options.discord.log) return
sendDiscordMessage(fixansi(ansi.replaceAll('`', '`\u200b')))
//'```ansi\n' + fixansi(ansi.replaceAll('\u200b').substring(0, 1983)) + '\n```'
} catch (e) {
@@ -112,7 +111,6 @@ client.on('ready', (context) => {
bot.commandManager.executeString(source, message.content.substring(bot.discord.commandPrefix.length))
return
}
if(!bot.options.discord.log) return
if(bot.options.useChat){
bot.chat(`&8[&5FNF&bBoyfriend&4Bot &9Discord&8] ${message.member.displayName.replaceAll('\xa7', '&')}&f › ${message.content.replaceAll('\xa7', '&')}`)
} else {