diff --git a/src/events/commands/balise.js b/src/events/commands/balise.js index 7f4d17a..6943d7f 100644 --- a/src/events/commands/balise.js +++ b/src/events/commands/balise.js @@ -16,7 +16,7 @@ const invoke = async (interaction) => { const image = await getScreenhot('table table tbody'); const embed = new EmbedBuilder() - .setTitle(`${interaction.user.username} a utilisé la commande **/balise**`) + .setDescription(`${interaction.user.username} a utilisé la commande **/balise**`) .setImage(`attachment://dashboard.png`); const attachment = new AttachmentBuilder(image, 'screenshot.png'); diff --git a/src/jobs/channelCleanup.js b/src/jobs/channelCleanup.js index 7c4cbf1..a4ffcae 100644 --- a/src/jobs/channelCleanup.js +++ b/src/jobs/channelCleanup.js @@ -1,6 +1,7 @@ import {archive, allowedCategories} from '../utils/archive.js'; export function channelCleanup(client) { + console.log('===== starting scheduled channel cleanup ====='); const guild = client.guilds.cache.get(process.env.GUILD_ID); const categories = guild.channels.cache.filter(channel => allowedCategories.includes(channel.name)) diff --git a/src/jobs/serverStats.js b/src/jobs/serverStats.js index 509f585..cdc5c8f 100644 --- a/src/jobs/serverStats.js +++ b/src/jobs/serverStats.js @@ -1,6 +1,7 @@ import { EmbedBuilder } from 'discord.js'; export async function serverStats(client) { + console.log('===== starting scheduled server stats update ====='); const guild = client.guilds.cache.get(process.env.GUILD_ID); // fetch members first, otherwise guild.roles.cache.get('1232623387965132820').members.size will be empty