sbot50
Explore posts from serversIs there a good way to register all commands at once?
Ok, im less of an idiot than i thought, still dumb tho.
Appearently my commands list was name-shadowed because the createglobalapplicationcommandsbuilder or whatever long name its called internally also has a commands list, so it was using that instead of mine.
15 replies
Is there a good way to register all commands at once?
I should mention that this:
works fine (aka getting a command and doing .register without going through a loop, I dislike this solution tho because then i already have all commands in a list so i can reference them later.
So based on this my assumption is that its a scoping issue
15 replies
How do I get the category a channel is in?
Ok so no clue what i would want to but in the <> of .getChannelOf, but theoretically i could cast it as a categorizablechannel and then get the category then do .asChannel and i will have the category.
(if i wasnt hit with more access bs from dc, but ill figure it out from here)
thanks.
3 replies
DIAdiscord.js - Imagine an app
•Created by sbot50 on 6/21/2024 in #djs-questions
Message interaction is null
I found out that im an idiot, i recoded it wrong and it summons a new msg. I'll mark this as closed
5 replies
DIAdiscord.js - Imagine an app
•Created by sbot50 on 6/21/2024 in #djs-questions
Message interaction is null
I dont see how most of this is relevant but ok
Node version: v22.3.0
DiscordJS version: 14.15.3
Might be a dc api issue, seeing as theyre moving to inteaction_metadata or smth
Code:
The stack trace really isnt needed, it just that in the logs the value of
interaction
for the msg object is null
unless its the first button press.5 replies
HGLHeroic Games Launcher
•Created by deep-jade on 5/11/2023 in #🆘-support
XCOM 2 - Cannot move characters
Solution:
9 replies
HGLHeroic Games Launcher
•Created by foreign-sapphire on 5/11/2023 in #🆘-support
XCOM 2 - Cannot move characters
@CommandMC THANK YOU SO MUCH
9 replies