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

+2 -2
View File
@@ -308,7 +308,7 @@ module.exports = {
SlashCommand: {
/**
*
* @param {require("../structures/QuarksBot")} client
* @param {require("../structures/DayzRBot")} client
* @param {import("discord.js").Message} message
* @param {string[]} args
* @param {*} param3
@@ -327,7 +327,7 @@ module.exports = {
const channelid = args[0].options[0].options[0].value;
if (args[0].options[0].name == 'add') {
const channelAdd = client.channels.cache.get(channelid);
const channelAdd = client.GetChannel(channelid);
const newChannelErrorEmbed = new EmbedBuilder().setColor(client.config.Colors.Red)
let error = false;