Aura
Aura
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
@squiddleton ohk i will try this
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
not channel.delete
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
but i do use message.delete()
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
Nope
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
Am not using a custom client am just extending the discord.js client to add some config and define some files
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
Please provide a fix for this !
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
const Client = require('./lib/base/CyberClient');
const { token } = require("../config");
const client = new Client();
client.login(token);
const Client = require('./lib/base/CyberClient');
const { token } = require("../config");
const client = new Client();
client.login(token);
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
Alright thanks
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
I'm sorry
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
@luna🌈
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
How to handle Unknown Interaction error
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
@Squid
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
const { ClusterClient, getInfo } = require('discord-hybrid-sharding');

class CyberClient extends Client {
constructor(options) {
super({
shardCount: getInfo().TOTAL_SHARDS,
shards: getInfo().SHARD_LIST,
allowedMentions: { parse: ['roles'], repliedUser: false },
intents: ["Guilds", "GuildVoiceStates", "GuildMessages", "MessageContent", "GuildMessageReactions"]

})
this.cluster = new ClusterClient(this);
const { ClusterClient, getInfo } = require('discord-hybrid-sharding');

class CyberClient extends Client {
constructor(options) {
super({
shardCount: getInfo().TOTAL_SHARDS,
shards: getInfo().SHARD_LIST,
allowedMentions: { parse: ['roles'], repliedUser: false },
intents: ["Guilds", "GuildVoiceStates", "GuildMessages", "MessageContent", "GuildMessageReactions"]

})
this.cluster = new ClusterClient(this);
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
@Squid
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
it was the previous line
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
This was the line
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
if (!message.channel.permissionsFor(message.guild.members.me).has([PermissionsBitField.Flags.EmbedLinks])) return message.reply({ content: `I am missing \`embed links\` permissions in **${message.channel.name}**.` })
if (!message.channel.permissionsFor(message.guild.members.me).has([PermissionsBitField.Flags.EmbedLinks])) return message.reply({ content: `I am missing \`embed links\` permissions in **${message.channel.name}**.` })
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
I'm sorry
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
@luna🌈
38 replies
DIAdiscord.js - Imagine an app
Created by Aura on 7/1/2023 in #djs-questions
ChannelNotCached
Yes
38 replies