Fully qualify SlashCommandBuilder namespace (#2534)
Update to make sure its cleear which SlashCommandBuilder is used.
This commit is contained in:
@@ -45,7 +45,7 @@ public async Task Client_Ready()
|
||||
{
|
||||
ulong guildId = 848176216011046962;
|
||||
|
||||
var guildCommand = new SlashCommandBuilder()
|
||||
var guildCommand = new Discord.SlashCommandBuilder()
|
||||
.WithName("list-roles")
|
||||
.WithDescription("Lists all roles of a user.")
|
||||
.AddOption("user", ApplicationCommandOptionType.User, "The users whos roles you want to be listed", isRequired: true);
|
||||
|
||||
Reference in New Issue
Block a user