Do not exit after user failure on command perm
This commit is contained in:
parent
2cbe6c0aa5
commit
71b05a2bbd
@ -49,8 +49,7 @@ namespace ChaosBot.Discord.PreConditions
|
|||||||
{
|
{
|
||||||
if(context.User.Id == perm.TargetId)
|
if(context.User.Id == perm.TargetId)
|
||||||
return Task.FromResult(PreconditionResult.FromSuccess());
|
return Task.FromResult(PreconditionResult.FromSuccess());
|
||||||
|
continue;
|
||||||
return Task.FromResult(PreconditionResult.FromError($"You do not have access to this command."));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user