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:
parent
4702d2fcba
commit
635bf26601
5 changed files with 68 additions and 12 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue