diff --git a/events/messageCreate.js b/events/messageCreate.js index 9b4bfd0..0aa2600 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -3,6 +3,6 @@ const { Events } = require('discord.js'); module.exports = { name: Events.MessageCreate, async execute(message) { - console.log(`${message.author.globalName}: ${message.content}`); + console.log(`[${message.channel.guild.name}/${message.channe.name}]${message.author.globalName}: ${message.content}`); }, }; \ No newline at end of file diff --git a/events/ready.js b/events/ready.js index 2d254c5..3402836 100644 --- a/events/ready.js +++ b/events/ready.js @@ -4,6 +4,6 @@ module.exports = { name: Events.ClientReady, once: true, execute(client) { - console.log(`Ready! Logged in as ${client.user.tag}`); + console.log(`[STATUS]Ready! Logged in as ${client.user.tag}`); }, }; \ No newline at end of file diff --git a/timers/cleanupMessages.js b/timers/cleanupMessages.js index 2c5624f..fa1c00f 100644 --- a/timers/cleanupMessages.js +++ b/timers/cleanupMessages.js @@ -6,7 +6,7 @@ module.exports = { const channelId = '1170190197384814762'; const channel = await client.channels.fetch(channelId); - console.log(`Running cleanup task for ${channel.guild.name}/${channel.name}`); + console.log(`[TIMER] Running cleanup task for ${channel.guild.name}/${channel.name}`); channel.messages.fetch({ limit: 100 }).then(messages => { //Iterate through the messages here with the variable "messages". messages.forEach(message => { diff --git a/timers/testTimer.js b/timers/testTimer.js index e63bf45..4b595b1 100644 --- a/timers/testTimer.js +++ b/timers/testTimer.js @@ -6,7 +6,7 @@ module.exports = { i: 0 }, async tick(client, timer) { - console.log(`Test timer ticked ${timer.data.i}`); + console.log(`[TIMER] Test timer ticked ${timer.data.i}`); timer.data.i++; if(timer.data.i >= 5) { clearInterval(timer.instance);