An open API service indexing awesome lists of open source software.

https://github.com/nothiiragi/dinocord

A WIP Discord library for Deno
https://github.com/nothiiragi/dinocord

deno discord typescript

Last synced: 2 months ago
JSON representation

A WIP Discord library for Deno

Awesome Lists containing this project

README

          

# Dinocord
A WIP Discord library for Deno
Still working on it,

[Support server](https://discord.gg/mHsgHhaAKq)

# Example usage
```typescript
import { Client, createMessage } from 'https://deno.land/x/dinocord@v0.0.7/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](https://github.com/ItsYaBoiElijah11/Ano.js)

[Katana](https://github.com/stuyy/Katana)