welcome users, gamertag link, other general modifications
This commit is contained in:
15 files changed
+402
-48
No files matched your search
@@ -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
@@ -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();
|
||||
};
|
||||
Reference in new issue
Block a user