Repository
Current version released
3 years ago
Dependencies
Dinocord
A WIP Discord library for Deno Still working on it,
Example usage
import { Client, createMessage } from 'https://deno.land/x/dinocord@v0.0.5/mod.ts';
const client = new Client();
const TOKEN = "TOKEN";
client.on('ready', () => {
console.log('Ready!');
});
client.on('message', async (message: any) => {
console.log(message);
if (message.content == 's') {
await createMessage('I am a bot!', message.channel_id);
}
});
client.connect(TOKEN);