1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-03 20:49:54 +03:00

Implement some unused guild configuration options

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-06-16 13:45:57 +05:00
parent 4702d2fcba
commit 635bf26601
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
5 changed files with 68 additions and 12 deletions

View file

@ -23,7 +23,7 @@ public class InteractionResponders : InteractionGroup {
/// A button that will output an ephemeral embed containing the information about a scheduled event.
/// </summary>
/// <param name="state">The ID of the guild and scheduled event, encoded as "guildId:eventId".</param>
/// <returns>A feedback sending result which may or may not have succeeded.</returns>
/// <returns>An ephemeral feedback sending result which may or may not have succeeded.</returns>
[Button("scheduled-event-details")]
public async Task<Result> OnStatefulButtonClicked(string? state = null) {
if (state is null) return Result.FromError(new ArgumentNullError(nameof(state)));