neon
neon
Explore posts from servers
SIASapphire - Imagine a framework
Created by neon on 4/4/2024 in #sapphire-support
What's the point of having a "container" object exported which consists of client and other stuff?
also keeping the Client class clean
11 replies
SIASapphire - Imagine a framework
Created by neon on 4/4/2024 in #sapphire-support
What's the point of having a "container" object exported which consists of client and other stuff?
So the advantage of using container is that other sapphire plugins can access store and client without having to require djs or sapphire, and that's it right?
11 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/24/2022 in #djs-questions
What's the type for 'SlashCommandBuilder' in Typescript?
nvm i found them, I used:
data: SlashCommandBuilder | SlashCommandSubcommandsOnlyBuilder;
data: SlashCommandBuilder | SlashCommandSubcommandsOnlyBuilder;
2 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/12/2022 in #djs-questions
What's the difference between users.fetch() and users.cache.get()?
Alright, thanks!
8 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/12/2022 in #djs-questions
What's the difference between users.fetch() and users.cache.get()?
Why didn't I think about that
8 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/12/2022 in #djs-questions
What's the difference between users.fetch() and users.cache.get()?
OHH
8 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/12/2022 in #djs-questions
What's the difference between users.fetch() and users.cache.get()?
Doesn't .cache return a collection?
8 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/12/2022 in #djs-questions
What's the difference between users.fetch() and users.cache.get()?
Does .get() return a collection then?
8 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/12/2022 in #djs-questions
What's the difference between users.fetch() and users.cache.get()?
Thanks for your quick reply!
8 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/10/2022 in #djs-questions
Not an error, but what's a 'SubcommandGroup' in slash command builder??
oh alright, thanks both of you!
7 replies
DIAdiscord.js - Imagine an app
Created by neon on 7/10/2022 in #djs-questions
Not an error, but what's a 'SubcommandGroup' in slash command builder??
wait so is it like in a group, it'd be like: /command group1 cmd1 /command group1 cmd2 /command group2 cmd1
7 replies