From 88cc4eda3c2fad410ad4350d7c380a55c314468e Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 6 Apr 2024 09:01:57 -0400 Subject: [PATCH] Remove reminder embed, only send text message --- modules/functions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/functions.js b/modules/functions.js index c10491e..84128c9 100755 --- a/modules/functions.js +++ b/modules/functions.js @@ -1046,9 +1046,9 @@ const functions = { }, async sendWaterReminder(guildInfo, message, channelId, guild) { const reminderChannel = await guild.channels.fetch(channelId); - const reminderEmbed = functions.builders.waterReminderEmbed(message, guildInfo); + // const reminderEmbed = functions.builders.waterReminderEmbed(message, guildInfo); if (isDev) console.log(`WR: ${guild.name}: ${guildInfo.treeName}`); - await reminderChannel.send(reminderEmbed).then(async m => { + await reminderChannel.send(message).then(async m => { if (!m.deletable) return; await this.sleep(500).then(async () => { await m.delete().catch(e => console.error(e)); @@ -1059,9 +1059,9 @@ const functions = { }, async sendFruitReminder(guildInfo, message, channelId, guild) { const reminderChannel = await guild.channels.fetch(channelId); - const reminderEmbed = functions.builders.fruitReminderEmbed(message, guildInfo); + // const reminderEmbed = functions.builders.fruitReminderEmbed(message, guildInfo); if (isDev) console.log(`FR: ${guild.name}: ${guildInfo.treeName}`); - await reminderChannel.send(reminderEmbed).then(async m => { + await reminderChannel.send(message).then(async m => { if (!m.deletable) return; await this.sleep(500).then(async () => { await m.delete().catch(e => console.error(e));