rubis
v1.0.0
Published
```ts import Client, { ClientEvents } from "ruby.js" import { Message } from "ruby.js"
Downloads
2
Readme
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")