diff --git a/BLART/Commands/ChannelRenting/DenyCommand.cs b/BLART/Commands/ChannelRenting/DenyCommand.cs index 522eedd..f4b0ee7 100755 --- a/BLART/Commands/ChannelRenting/DenyCommand.cs +++ b/BLART/Commands/ChannelRenting/DenyCommand.cs @@ -31,8 +31,16 @@ await RespondAsync(embed: await ErrorHandlingService.GetErrorEmbed(ErrorCodes.Pe if (ulong.TryParse(s.Replace("<", string.Empty).Replace("@", string.Empty).Replace(">", string.Empty), out ulong userId)) { IGuildUser user = Context.Guild.GetUser(userId); - if (user is not null) - guildUsers.Add(user); + if (user is not null) + { + if (user.Id == Context.User.Id) + { + await RespondAsync("You cannot deny yourself access to your own VC... is everything okay?", ephemeral: true); + return; + } + + guildUsers.Add(user); + } } }