@innatical/octii.ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @innatical/octii.ts

Weekly Downloads

3

Version

1.1.6

License

MIT

Unpacked Size

11.3 kB

Total Files

22

Last publish

Collaborators

  • _adam_