Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r6stats/valkord-r6stats
R6Stats Valkord Module for Discord
https://github.com/r6stats/valkord-r6stats
discord discord-bot discordjs r6stats rainbow-six valkord
Last synced: about 2 months ago
JSON representation
R6Stats Valkord Module for Discord
- Host: GitHub
- URL: https://github.com/r6stats/valkord-r6stats
- Owner: R6Stats
- License: gpl-3.0
- Created: 2020-07-01T00:34:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T13:55:54.000Z (over 2 years ago)
- Last Synced: 2024-03-23T12:50:09.203Z (10 months ago)
- Topics: discord, discord-bot, discordjs, r6stats, rainbow-six, valkord
- Language: TypeScript
- Homepage:
- Size: 344 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# valkord-r6stats
[![Discord](https://discordapp.com/api/guilds/293848587391991836/embed.png)](https://discord.gg/pUdraS3)
[![David](https://img.shields.io/david/r6stats/valkord-r6stats)](https://david-dm.org/r6stats/valkord-discord)
[![David](https://img.shields.io/david/peer/r6stats/valkord-r6stats)](https://david-dm.org/r6stats/valkord-discord)An [R6Stats](https://r6stats.com) module for the [Valkord](https://github.com/R6Stats/valkord-discord) framework, adding commands focused on Rainbow Six: Siege stats.
## Installing
To use the R6Stats Valkord module in your bot, install it with npm and then load it using Valkord's module loader.
```bash
npm install @r6stats/valkord-r6stats
``````ts
import { ValkordClient, ValkordFactory } from '@r6stats/valkord'
import R6StatsModule from '@r6stats/valkord-discord'export class MyClient extends ValkordClient {
}
const run = async () => {
// instatiate the client from the Container
const client = await ValkordFactory.create(MyClient)// load any modules of your choosing
const loader = client.getModuleLoader()
loader.load(R6StatsModule)// connect!
await client.connect()
}run()
```