Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 664 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 664 Bytes

What is Katana?

Katana is an unofficial Discord library that allows you to build Discord Bots with the Deno runtime.

Usage

import { Client } 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({
      content: 'hello'
    });
  }
});

client.login('token');

Features

Contributing

All contribution is appreciated. You can contribute to this repo by forking and starring, and submitting any Pull Requests.