| @@ -15,9 +15,10 @@ Slash commands can have a bunch of parameters, each their own type. Let's first | |||||
| | Integer | A number. | | | Integer | A number. | | ||||
| | Boolean | True or False. | | | Boolean | True or False. | | ||||
| | User | A user | | | User | A user | | ||||
| | Channel | A channel, this includes voice text and categories | | |||||
| | Role | A role. | | | Role | A role. | | ||||
| | Channel | A channel, this includes voice text and categories | | |||||
| | Mentionable | A role or a user. | | | Mentionable | A role or a user. | | ||||
| | File | A file | | |||||
| Each one of the parameter types has its own DNET type in the `SocketSlashCommandDataOption`'s Value field: | Each one of the parameter types has its own DNET type in the `SocketSlashCommandDataOption`'s Value field: | ||||
| | Name | C# Type | | | Name | C# Type | | ||||
| @@ -31,6 +32,7 @@ Each one of the parameter types has its own DNET type in the `SocketSlashCommand | |||||
| | Role | `SocketRole` | | | Role | `SocketRole` | | ||||
| | Channel | `SocketChannel` | | | Channel | `SocketChannel` | | ||||
| | Mentionable | `SocketUser`, `SocketGuildUser`, or `SocketRole` | | | Mentionable | `SocketUser`, `SocketGuildUser`, or `SocketRole` | | ||||
| | File | `IAttachment` | | |||||
| Let's start by making a command that takes in a user and lists their roles. | Let's start by making a command that takes in a user and lists their roles. | ||||