@kotori-bot/adapter-slack
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@kotori-bot/adapter-slack

Supports for slack. Create own bot: Getting started.

Config

export const config = Tsu.Object({
  token: Tsu.String().describe("Bot's token"),
  appToken: Tsu.String().describe('Application token (Use for socket connection)'),
  signingSecret: Tsu.String().describe('Signing secret')
})

Supports

Events

  • on_message (fully supported)

Api

  • sendPrivateMsg
  • sendGroupMsg
  • sendChannelMsg

Elements

  • text
  • image
  • voice
  • video

TODO

Support more standard api...

Reference

Package Sidebar

Install

npm i @kotori-bot/adapter-slack

Weekly Downloads

1

Version

1.0.0

License

GPL-3.0

Unpacked Size

49.4 kB

Total Files

11

Last publish

Collaborators

  • biyuehu