> For the complete documentation index, see [llms.txt](https://isphinx.gitbook.io/sphinx-bc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://isphinx.gitbook.io/sphinx-bc/using-useraccount-class/autoreaction.md).

# AutoReaction

This function just auto reacts for giveaways, It does notify you so that's why it's cool :)

{% hint style="info" %}
Your Account will be banned from some servers&#x20;
{% endhint %}

## Using the function

```javascript
const {userAccount} = require('sphinx-bc') // npm i sphinx-bc@latest

new userAccount({token: "YourAccountToken"}).autoReaction({
    channel: "The channel you want to be notified at (id)",
    user: "The user you want to get pinged"
});
```
