fix/ensure-proper-sendError

This commit is contained in:
SowinskiBraeden committed 2023-09-02 19:25:17 -07:00
1 parent 1bc10658dc
commit 40ffeab665
34 files changed
+52 -57

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ 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);
const channel = client.GetChannel(GuildDB.welcomeChannel);
let embed = new EmbedBuilder()
.setColor(client.config.Colors.Default)