Q: difference between Discord.SlashCommandBuilder and the Discord.Interactions.Builders same name #3213
Replies: 2 comments 3 replies
-
|
Going to guess based on a surface level smoke test, // Asking for `ModuleBuilder` and `ExecutionCallback` for starters...
Discord.Interactions.Builders.SlashCommandBuilder x = new();Versus: // Which simply "is" zero parameters, TL;DR did not configure anything "yet"... just getting a flavor of the surface requirements.
Discord.SlashCommandBuilder y = new();
// Which is good if we have for instance, SocketGuild source.
source.CreateApplicationCommandAsync(y.Build()); |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There is
Discord.SlashCommandBuilderand there isDiscord.Interactions.Builders.SlashCommandBuilder, is there a difference, has one superseded the other? Would someone mind advising please? Thank you... Best...Beta Was this translation helpful? Give feedback.
All reactions