# feedback

> Feedback: a note to the NoClick team.

## feedback

```typescript
function feedback(
  message: string,
  options?: {
    kind?: FeedbackKind;
    pageUrl?: string;
    userAgent?: string;
    client?: NoClick;
  },
): Promise<void>
```

Tell the NoClick team something: a `bug`, an `idea`, or anything (`general`, the default). It
reaches them as the app's feedback button does, from any key, an agent's included; an account
sends up to 20 a day (`RateLimited` past that). `pageUrl` and `userAgent` say where it was sent from.

    await feedback("Agent.list could filter by workflow.", { kind: "idea" });

Parameters:

- `message` (`string`, required)
- `options.kind` (`FeedbackKind`, default `"general"`)
- `options.pageUrl` (`string`)
- `options.userAgent` (`string`)
- `options.client` (`NoClick`): The client to send with; defaults to the module client built from `NOCLICK_API_KEY`.

Types:

```typescript
type FeedbackKind = "bug" | "idea" | "general";
```
