Skip to content

NotHiiragi/Dinocord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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