1.1.6 • Published 3 years ago

@innatical/octii.ts v1.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago