discord-rb

0.0.1 • Public • Published

Discord Ruby

Discord.rb is a low bindings library for interacting with the official api of discord. We are not supporting many events yet as this project was started not so long ago.

Examples:

```js const Discord = require("discord.rb")

const Client = new Discord.Client()

Client.Join("BOT_TOKEN") //Replace bot token with your bot's token.

Client.on("WebsocketConnect", () => { console.log(Logged in client ${Client.User.Tag}.) }) //ready event

Client.on("MessageCreate", async (Message) => {

if (Message.User.Bot) return

if (Message.Content === "!ping") { return Message.Channel.SendMessage(${Message.User.Mention()} pong!) } }) //message event

Readme

Keywords

Package Sidebar

Install

npm i discord-rb

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

23.4 kB

Total Files

18

Last publish

Collaborators

  • ruben40000