Skip to main content

Dinocord

A WIP Discord library for Deno Still working on it,

Support server

Example usage

import { Client, createMessage } from 'https://deno.land/x/dinocord@v0.0.6/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);

Insperation for this project

Ano.js

Katana