Black Wolf
Black Wolf
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
I have seperate handlers for initializing stuff and since this was in the VRChat handler and not the discord handler it obviously did not wait for the client to be ready
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
YEP... that was the issue.
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
ooo watch it because client isn't initialized yet- HOLD ON
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
I ran it outside of the function what was using it by doing
await client.channels.fetch("1345717015276687370", { force: true });
await client.channels.fetch("1345717015276687370", { force: true });
and that works... wird, i will investigate further
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
-# Ping on reply ty
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
https://blackwolfwoof.com/s/bnRXke9iRcxtMyZ/download/Awooo_mduWS.mp4 1345717015276687370 to confirm the id is right
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
[email protected] node v23.8.0
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
On other channels like vrc-kicks it works fine
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
the code here is just
const channel = await client.channels.fetch(channelId, { force: true });
console.log(channel)
console.log(channel?.name)
console.log(channelId)
const channel = await client.channels.fetch(channelId, { force: true });
console.log(channel)
console.log(channel?.name)
console.log(channelId)
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
the channel causing issues is vrc-bans in this case
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
To make sure it is not a permission issue i gave the bot administrator permissions
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 3/2/2025 in #djs-questions
form channel returning null instead of the channel object
16 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 5/15/2024 in #djs-questions
Issues getting message after using it once
Thanks a lot Qjuh 🖤, i wouldn't have imagined djs having an issue which caused this
124 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 5/15/2024 in #djs-questions
Issues getting message after using it once
https://blackwolfwoof.com/s/BxYXADJSxZtbBNA/preview - shows caching behavior in requests - successfully edits message embeds to red
124 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 5/15/2024 in #djs-questions
Issues getting message after using it once
Looks like that was it 👀, and i thought i coded in some bug 😅
124 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 5/15/2024 in #djs-questions
Issues getting message after using it once
gn 🖤
124 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 5/15/2024 in #djs-questions
Issues getting message after using it once
until then i will just comment out edit message i guess
124 replies
DIAdiscord.js - Imagine an app
Created by Black Wolf on 5/15/2024 in #djs-questions
Issues getting message after using it once
I will call it for today as idk how to fix this or what is wrong. I guess i will continue messaging here tomorrow after work if i have some time to look into it again
124 replies