Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Av32000 committed Jun 10, 2023
1 parent d8ab96b commit b226720
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ bot.on('READY', message => {
});
```

Once connected, you can update your bot's status with the updatePresence() method:

```js
bot.on("READY", m => {
console.log(m);
bot.updatePresence("dnd", {name: "Activity Name", type: ActivityType.GAME})
})
```

## Contributions

All contributions are welcome! Thank you to everyone who will open issues and pull requests to participate in the project. You are free to propose corrections/improvements as well as feature additions!
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clyde-gateway",
"version": "1.0.0",
"version": "1.1.0",
"description": "Simple and very small library to connect your bot to the discord gateway",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit b226720

Please sign in to comment.