mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Applied codestyle to all .cs files
This commit is contained in:
@@ -14,7 +14,6 @@ public sealed class OwnerOnlyAttribute : PreconditionAttribute
|
||||
|
||||
return Task.FromResult(creds.IsOwner(context.User) || context.Client.CurrentUser.Id == context.User.Id
|
||||
? PreconditionResult.FromSuccess()
|
||||
: PreconditionResult.FromError("Not owner")
|
||||
);
|
||||
: PreconditionResult.FromError("Not owner"));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user