An R6Stats module for the Valkord framework, adding commands focused on Rainbow Six: Siege stats.
To use the R6Stats Valkord module in your bot, install it with npm and then load it using Valkord's module loader.
npm install @r6stats/valkord-r6stats
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>(MyClient)
// load any modules of your choosing
const loader = client.getModuleLoader()
loader.load(R6StatsModule)
// connect!
await client.connect()
}
run()