Interface ISlashCommandAutoSyncService
Hold all the methods to sync the local slash command to Discords api.
Namespace: Color_Chan.Discord.Commands.Services
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public interface ISlashCommandAutoSyncService
Methods
| Improve this Doc View SourceUpdateApplicationCommandsAsync(IEnumerable<ISlashCommandInfo>)
Updates the slash commands for the currently signed in application.
Declaration
Task<Result> UpdateApplicationCommandsAsync(IEnumerable<ISlashCommandInfo> commandInfos)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ISlashCommandInfo> | commandInfos | The commandInfos that will be used to update slash commands. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Result> | The Result with the results of the update process. |