Zeroknights
Zeroknights
DIAdiscord.js - Imagine an app
Created by CheeseGroveCam on 4/12/2024 in #djs-questions
Server available is false most of the time.
You have to update, v12 is no longer being supported
4 replies
DIAdiscord.js - Imagine an app
Created by RRSHIVAM7700 on 8/27/2023 in #djs-questions
give the javascript code
Lmao
32 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
I am not retarded holy
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
You can trust me at that point
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
because he gave me perms
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
he created his own bot account
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
nope
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
bot code
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
(he got the files)
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
It is my bot, but another user who's using my bot told me that this isn't working. So I got access to his hosting provider to get all required information
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
he's using node v20, might this be an issue here?
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
but someone else who has access to the bot
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
I can't reproduce this issue
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
that's what I am thinking
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
nope
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
let me double check
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
but none of them are the reasons, it's a bot account 100% and the command was executed in a guild where the bot is a memberof
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
I see but I am still wondering how this can happen
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
if (!interaction.inCachedGuild()) await client.guilds.fetch(client.config.guild_id);
const channel = interaction.channel == null ? await interaction.channel.fetch() : interaction.channel;
if (!interaction.inCachedGuild()) await client.guilds.fetch(client.config.guild_id);
const channel = interaction.channel == null ? await interaction.channel.fetch() : interaction.channel;
I have been told that a possibility is that the guild is not cached, I had no idea to fix it so I added that (being aware of that this probably doesn't work that way) So originally these 2 lines would be gone
41 replies
DIAdiscord.js - Imagine an app
Created by Zeroknights on 6/5/2023 in #djs-questions
interaction.channel = null
it returns the embed and logs the error
41 replies