private void CheckPermissions(CommandContext ctx) { Permissions permissions = new Permissions(ctx); if (!permissions.CanManageCampaign()) { throw new InvalidOperationException("I don't have the permissions to do that."); } }