Some more logging
This commit is contained in:
parent
915ca4bf7c
commit
b880503059
@ -689,6 +689,7 @@ const functions = {
|
|||||||
async sendWaterReminder(guildInfo, message, channelId, guild) {
|
async sendWaterReminder(guildInfo, message, channelId, guild) {
|
||||||
const reminderChannel = await guild.channels.fetch(channelId);
|
const reminderChannel = await guild.channels.fetch(channelId);
|
||||||
const reminderEmbed = functions.builders.waterReminderEmbed(message, guildInfo);
|
const reminderEmbed = functions.builders.waterReminderEmbed(message, guildInfo);
|
||||||
|
console.log(`Water Relay: ${guild.name}: ${guildInfo.treeName}`);
|
||||||
await reminderChannel.send(reminderEmbed).then(async m => {
|
await reminderChannel.send(reminderEmbed).then(async m => {
|
||||||
if (!m.deletable) return;
|
if (!m.deletable) return;
|
||||||
await this.sleep(500).then(async () => {
|
await this.sleep(500).then(async () => {
|
||||||
@ -701,6 +702,7 @@ const functions = {
|
|||||||
async sendFruitReminder(guildInfo, message, channelId, guild) {
|
async sendFruitReminder(guildInfo, message, channelId, guild) {
|
||||||
const reminderChannel = await guild.channels.fetch(channelId);
|
const reminderChannel = await guild.channels.fetch(channelId);
|
||||||
const reminderEmbed = functions.builders.fruitReminderEmbed(message, guildInfo);
|
const reminderEmbed = functions.builders.fruitReminderEmbed(message, guildInfo);
|
||||||
|
console.log(`Fruit Relay: ${guild.name}: ${guildInfo.treeName}`);
|
||||||
await reminderChannel.send(reminderEmbed).then(async m => {
|
await reminderChannel.send(reminderEmbed).then(async m => {
|
||||||
if (!m.deletable) return;
|
if (!m.deletable) return;
|
||||||
await this.sleep(500).then(async () => {
|
await this.sleep(500).then(async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user