Changed welcome message channel

This commit is contained in:
Lily Wonhalf 2021-07-11 20:40:49 -04:00
parent 22a546be10
commit cb26502acd
2 changed files with 4 additions and 4 deletions

View file

@ -15,14 +15,14 @@ const Guild = {
discordGuild: null,
/** {TextChannel} */
appDiscussionChannel: null,
joinsChannel: null,
/** {Collection} */
messagesCache: new Discord.Collection(),
init: async () => {
Guild.discordGuild = bot.guilds.cache.find(guild => guild.id === Config.guild);
Guild.appDiscussionChannel = Guild.discordGuild.channels.cache.find(channel => channel.id === Config.channels.appDiscussion);
Guild.joinsChannel = Guild.discordGuild.channels.cache.find(channel => channel.id === Config.channels.joins);
},
/**
@ -159,7 +159,7 @@ const Guild = {
},
guildMemberAddHandler: (member) => {
Guild.appDiscussionChannel.send(`Welcome, ${member}! Just so you are aware, we are slowly recovering from a DDoS attack. If you are having trouble connecting to the app, please make sure you are on the latest version. If you are still unable to connect, you can note your switches in <#862595352917442570> so that you have them for when the server has recovered. We thank you for your patience!`)
Guild.joinsChannel.send(`Welcome, ${member}! Just so you are aware, we are slowly recovering from a DDoS attack. If you are having trouble connecting to the app, please make sure you are on the latest version. If you are still unable to connect, you can note your switches in <#862595352917442570> so that you have them for when the server has recovered. We thank you for your patience!`)
}
};