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
- Host: GitHub
- URL: https://github.com/nothiiragi/dinocord
- Owner: NotHiiragi
- License: mit
- Created: 2021-08-24T09:53:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-24T11:40:59.000Z (almost 5 years ago)
- Last Synced: 2025-02-26T19:43:40.591Z (over 1 year ago)
- Topics: deno, discord, typescript
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)