0.0.8 • Published 4 years ago

@r6stats/valkord-r6stats v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

valkord-r6stats

Discord David David

An R6Stats module for the Valkord 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.

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()
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago