No description
Find a file
2020-11-05 09:46:48 +05:30
.vscode Add cdn 2020-10-23 12:19:40 +09:00
src Fixed lib, really 2020-11-05 09:12:31 +05:30
.eslintrc.js Now we can listen and send event 2020-10-26 02:03:53 +09:00
.gitignore Fix some lint errors and make more runtime errors(for now) 2020-11-02 15:58:23 +09:00
CONTRIBUTING.md Update readme and add contributing.md 2020-11-03 01:09:12 +09:00
LICENSE Initial commit 2020-10-20 23:58:44 +09:00
mod.ts mod.ts edit 2020-11-04 21:38:52 +09:00
package.json Project start 2020-10-22 01:30:42 +09:00
README.md Fix lint & Added reconnect handler 2020-11-04 08:00:03 +09:00
tsconfig.json MASSIVE UPDATE NOW WITH EVENTS 2020-10-30 23:51:40 +09:00

discord-deno

banner

standard-readme compliant

An easy to use Discord API Library for Deno

Table of Contents

Usage

import { Client } from 'https://deno.land/x/discord-deno/models/client.ts'
import { Message } from 'https://deno.land/x/discord-deno/structures/message.ts'

const bot = new Client()

bot.on('messageCreate', (msg: Message): void => {
  if (msg.content === '!ping') {
    msg.channel.send(`Pong! ping: ${bot.ping}`)
  }
})

bot.connect(TOKEN, [GatewayIntents.GUILD_MESSAGES])

Docs

Not made yet

Maintainer

@Helloyunho

Contributing

See the contributing file!

PRs are accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2020 Helloyunho