Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

README.md

Coward

Coward is a Deno module for easy interaction with the Discord API

All Contributors license maintainability deno documentation chat

Usage

You must be using Deno v1.0.2 or higher.

import { Client } from "https://deno.land/x/coward@v0.3.2/mod.ts";

Please don't use this in anything important yet. It is barely functional, and as such is not production ready. Also note, coward uses Evt for events. You can read the documentation for that here.

Ping-Pong Example

import { Client } from "https://deno.land/x/coward@v0.3.2/mod.ts";

let client = new Client("TOKEN");

client.evt.ready.attach(() => {console.log("READY!")});

client.evt.messageCreate.attach(async ({message}) => {
  if(message.content == "!ping") {
    await message.channel.createMessage("Pong!");
  }
})

client.connect()

License

Please refer to LICENSE.

Contributing

Any contributions to Coward are accepted and encouraged. This can range from submitting bug reports, requesting features, improving documentation, or writing code. Please refer to CONTRIBUTING.

Contributors āœØ

Thanks goes to these wonderful people (emoji key):


Joralmo

šŸ’» šŸ›

Exists

šŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

About

šŸ” Coward is a Deno module for easy interaction with the Discord API.

Topics

Resources

License

Packages

No packages published