feat: invite management commands

This commit is contained in:
sam 2024-10-14 00:26:17 +02:00
parent 32732d74d0
commit 5a2bd7388c
6 changed files with 310 additions and 13 deletions

View file

@ -54,9 +54,9 @@ public class ChannelCommandsComponents(
if (lease.Data.UserId != userId)
{
return (Result)
await feedbackService.SendContextualAsync(
await feedbackService.ReplyAsync(
"This is not your configuration menu.",
options: new FeedbackMessageOptions(MessageFlags: MessageFlags.Ephemeral)
isEphemeral: true
);
}
@ -253,9 +253,9 @@ public class ChannelCommandsComponents(
if (lease.Data.UserId != userId)
{
return (Result)
await feedbackService.SendContextualAsync(
await feedbackService.ReplyAsync(
"This is not your configuration menu.",
options: new FeedbackMessageOptions(MessageFlags: MessageFlags.Ephemeral)
isEphemeral: true
);
}