https://github.com/stuyy/Katana
Deno Discord API primarily based on Discord.JS ▬▬ι═══════ﺤ
https://github.com/stuyy/Katana
bots deno denodiscord discord discordapi discordbot katana
Last synced: 11 months ago
JSON representation
Deno Discord API primarily based on Discord.JS ▬▬ι═══════ﺤ
- Host: GitHub
- URL: https://github.com/stuyy/Katana
- Owner: stuyy
- License: mit
- Created: 2020-05-17T14:03:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T09:57:46.000Z (over 4 years ago)
- Last Synced: 2025-06-20T07:43:02.016Z (12 months ago)
- Topics: bots, deno, denodiscord, discord, discordapi, discordbot, katana
- Language: TypeScript
- Homepage:
- Size: 94.7 KB
- Stars: 77
- Watchers: 4
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is Katana?
**Katana** is an unofficial Discord library that allows you to build [Discord](http://discord.com) Bots with the [Deno](http://deno.land) runtime.





# Usage
```TS
import { Client, MessageEmbed } from 'https://deno.land/x/katana/mod.ts'
const client = new Client();
client.on('ready', () => {
console.log('Bot has logged in!');
});
client.on('message', (message) => {
if (message.content === 'hello') {
message.channel.send('Hello World!');
} else if (message.content === 'embed') {
const embed = new MessageEmbed()
.setDescription('hello world')
.setColor(13198335)
.setTitle('This is an embed');
message.channel.send(embed);
}
});
client.login('token');
```
# Features
- Caching
- Message Collectors
- Message Embeds
- Supports most Message Endpoints (Create, Delete, Edit, Fetch)
- Very similar to Discord.JS
# In Progress
- Reaction Collectors
- Await Message
- Await Reaction
# Future Features
- Optional In-Memory Caching
- Optional Redis Caching
- Sharding
- Voice Support
- Commands Framework
# Contributing
Contributions are appreciated. You can fork this repository and make a pull request and I'll review it. Feel free to join my Discord server: http://discord.gg/anson