Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

Coward

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

All Contributors license maintainability deno documentation chat

Usage

import { Coward } from "https://deno.land/x/coward/mod.ts";

Please don’t use this in anything important yet. It is barely functional, and as such is not production ready.

Ping-Pong Example

import { Coward, Message } from "https://deno.land/x/coward/mod.ts";

let client = new Coward("TOKEN")

client.on("messageCreate", (message: Message) => {
    if(message.content == "!ping") {
        client.postMessage(message.channel.id, "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

πŸ’» πŸ›

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