Skip to main content
Deno 2 is finally here 🎉️
Learn more

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.2/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