Skip to content

getoctii/octii.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octii.ts

The offical self-bot library for octii.chat using the user API.

Installation

The prefered package manager is yarn but npm can be used. To install simply run:

yarn add @innatical/octii.ts

Usage

import { Client, Command, Message } from 'octii.ts'

class Bot extends Client {
  constructor() {
    super('!', process.env.BOT_TOKEN!)
  }

  @Command
  async ping(msg: Message) {
    await msg.channel.send('Pong!')
  }
}

new Bot().run()

Documentation

Soon™

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages