# bronycord.js

> A NodeJS bronycord library

Latest version **0.1.2** (published 2022-02-16) · GNU-3.0 license · 0 weekly downloads

## Install

```sh
npm install bronycord.js
pnpm add bronycord.js
yarn add bronycord.js
bun add bronycord.js
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2022-02-16 |
| First published | 2022-02-12 |
| Weekly downloads | 0 |
| License | GNU-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16.6.0 |
| Dependencies | 4 |
| Unpacked size | 426 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | derpystown |
| Keywords | bronycord, api, bot, node |

## Links

- npm: https://www.npmjs.com/package/bronycord.js
- Repository: https://github.com/scottoss/bronycord.js
- Homepage: https://github.com/scottoss/bronycord.js#readme
- Issues: https://github.com/scottoss/bronycord.js/issues
- npm.io page: https://npm.io/package/bronycord.js

## Dependencies (4)

- [ws](https://npm.io/package/ws.md) ^8.2.3
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [revolt-api](https://npm.io/package/revolt-api.md) ^0.5.3-alpha.10
- [@discordjs/collection](https://npm.io/package/@discordjs/collection.md) ^0.2.1

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2022-02-16
- 0.1.1 — 2022-02-12
- 0.1.0 — 2022-02-12

## README

bronycord.js
====
A Node.js wrapper for interfacing with bronycord API.


## Installing
```bash
npm i bronycord.js
```

## Example Usage
```typescript
import { Client } from 'bronycord.js'

const client = new Client()

// Login with bot account
client.login(process.env.TOKEN)

// Self bot
// client.login({
//    type: 'user', // user or bot
//    token: process.env.TOKEN
// })


client.on('ready', () => {
    console.log('Connected')
    console.log(client.user.username)
})

client.on('message', msg => {
    if (msg.content === '!ping') {
        msg.reply('Pong!')
    }
})
```

## License
Refer to the [LICENSE](LICENSE) file.

---
_Source: https://npm.io/package/bronycord.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
