---
description: >-
  A BroadCast is message that is sent to all of the members in a server, an
  annoying function ngl.
---

# Making a broadCast

{% hint style="info" %}
This will get your bot banned , 100%
{% endhint %}

## Using the function

```javascript
const {BotAccount} = require("sphinx-bc");

new BotAccount({token: "Your bot token"}).botbc({
    ownerID: ["Your id"], 
    prefix: "your prefix",
    embedReply: "Optional Option",
    mention: true,
    type: 'off'
});
```

{% hint style="info" %}
You need to have intents on for this to work.
{% endhint %}

![Make sure you have these on or pkg no work for you :(](https://2189242966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS1pM1VeEG7UpeHFX2sNg%2Fuploads%2Fs7DMmstwBVHZIU3O5hJW%2FScreenshot_28.png?alt=media\&token=a74f8483-c401-4e81-a054-67eb63264f89)
