Browse Source

Fully qualify SlashCommandBuilder namespace (#2534)

Update to make sure its cleear which SlashCommandBuilder is used.
tags/3.9.0
Halbritter GitHub 2 years ago
parent
commit
20d8fdf0bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/int_basics/application-commands/slash-commands/parameters.md

+ 1
- 1
docs/guides/int_basics/application-commands/slash-commands/parameters.md View File

@@ -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);


Loading…
Cancel
Save