Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.
/ dinocord Public archive

A hobby project to make a Discord API library for deno 🦕

License

Notifications You must be signed in to change notification settings

sunsetkookaburra/dinocord

Repository files navigation

DinoCord

Project Status - Not Being Developed

This repo was a small hobby project at the start of 2020 to investigate the workings of Discord's API; dinocord is not being actively developed. Please look to, and give your support to, a module that being actively developed:

About

A small hobby project to try and make a Discord API library for deno.

Creating your first bot.

import { createClient } from 'https://deno.land/x/dinocord/mod.ts';

const client = await createClient('token');

console.log('Bot Connected:', client);

for await (const ctx of client) {
  if (ctx.event === 'MESSAGE_CREATE') {
    await ctx.reply(`***Roar!*** ${ctx.author} said:\n>>> ${ctx.text}`);
  }
}
Est. 20th Jan 2020

About

A hobby project to make a Discord API library for deno 🦕

Resources

License

Stars

Watchers

Forks