feat(bot): initial support for Discord application commands

This commit is contained in:
Iris System 2023-05-07 16:11:59 +12:00
parent c69ab99519
commit 86717603d3
21 changed files with 452 additions and 18 deletions

View file

@ -4,6 +4,7 @@ namespace Myriad.Rest.Types;
public record ApplicationCommandRequest
{
public ApplicationCommand.ApplicationCommandType Type { get; init; }
public string Name { get; init; }
public string Description { get; init; }
public List<ApplicationCommandOption>? Options { get; init; }