Repository
Current version released
4 years ago
Dependencies
Coward is a Deno module for easy interaction with the Discord API
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!