rubis

1.0.0 • Public • Published

Code example

import Client, { ClientEvents } from "ruby.js"
import { Message } from "ruby.js"

const client = new Client()

client.on(ClientEvents.ClientReady, () => {
    console.log(`Prêt en tant que ` + client.user.username)
})

client.on(ClientEvents.MessageCreate, (message: Message) => {
    console.log(message.content)
})

client.login("MTE4Nzc5ODc0Mzg2MTQ0NDczOQ.GoLkB2.dnBg0YEx84IX3YdZArTwnzLKZTH6FUEjNETtHw")

Readme

Keywords

none

Package Sidebar

Install

npm i rubis

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

64.1 kB

Total Files

26

Last publish

Collaborators

  • not.seven