feat: invite management commands
This commit is contained in:
parent
32732d74d0
commit
5a2bd7388c
6 changed files with 310 additions and 13 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue