This directive allows you to use your Voqal Assistant as a Discord bot which will send messages on your behalf.

Directive

tell discord eap now has the fix for the null pointer on the google api

Demonstration

Custom Tools

To use this directive, add the below custom tools to the Voqal Idle Mode prompt.

### tell_discord

```yaml
type: function
function:
  name: tell_discord
  description: Use this tool whenever the developer asks you to tell Discord something. Transcribes the message to Discord.
  parameters:
    type: object
    properties:
      message:
        type: string
        description: The message to send to Discord.
    required:
      - message
  exec:
    command: 'curl -H "Content-Type: application/json" -d "{\"content\":\"$[[message]]\"}" <<DISCORD_WEBHOOK>>'
```

Example Response

## Assistant Tool Request

### tell_discord

```json
{
  "message": "EAP now has the fix for the null pointer on the Google API"
}
```