Go to file
DjDeveloper 9b37e185b0 Fix errors with merge, fix lint errors 2020-11-03 12:42:22 +05:30
.vscode Add cdn 2020-10-23 12:19:40 +09:00
src Fix errors with merge, fix lint errors 2020-11-03 12:42:22 +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
README.md Update readme and add contributing.md 2020-11-03 01:09:12 +09:00
package.json Project start 2020-10-22 01:30:42 +09:00
tsconfig.json MASSIVE UPDATE NOW WITH EVENTS 2020-10-30 23:51:40 +09:00

README.md

discord-deno

banner

standard-readme compliant

Discord Deno API that is easy to use

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

Maintainers

@Helloyunho

Contributing

See the contributing file!

PRs accepted.

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

License

MIT © 2020 Helloyunho