feat: rename .js files to .ts

This commit is contained in:
Marius Begby committed 2023-08-26 21:50:38 +02:00
1 parent 40bf9d926b
commit 92b1992b1a
54 files changed

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
const { Events } = require('discord.js');
const { v4: uuidv4 } = require('uuid');
module.exports = {
name: Events.GuildDelete,
isDebug: false,
once: false,
execute: async (guild) => {
const executionId = uuidv4();
const logger = require('../../services/logger').child({
source: 'guildDelete.js',
module: 'event',
name: 'guildDelete',
executionId: executionId,
shardId: guild.shardId,
guildId: guild.id
});
logger.info(`Removed from guild '${guild.id}' with ${guild.memberCount} members.`);
}
};