welcome users, gamertag link, other general modifications

This commit is contained in:
SowinskiBraeden committed 2023-03-20 13:47:37 -07:00
1 parent d55096e7e1
commit 972c16557a
15 files changed
+402 -48

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
const { EmbedBuilder } = require('discord.js');
module.exports = async (client, member) => {
let GuildDB = await client.GetGuild(member.guild.id);
const channel = client.channels.cache.get(GuildDB.welcomeChannel);
let embed = new EmbedBuilder()
.setColor(client.config.Colors.Default)
.setDescription(`**Welcome** <@${member.user.id}> to **DayZ Reforger**\nTo gain access please use the command </gamertag-link:1087116946442559609>`);
channel.send({ embeds: [embed] });
};
+1 -1
View File
@@ -7,5 +7,5 @@ module.exports = async (client) => {
client.log(`Successfully Logged in as ${client.user.tag}`);
client.log(`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`)
client.RegisterSlashCommands();
client.logsUpdateTimer();
// client.logsUpdateTimer();
};