Bot-2.0/events/newGuild.js

9 lines
186 B
JavaScript

const { Events } = require('discord.js');
module.exports = {
name: Events.GuildCreate,
once: false,
execute(guild) {
console.log(`Joined guild ${guild.name}`);
}
};