1.1.1 • Published 11 months ago

@kotori-bot/kotori-plugin-adapter-cmd v1.1.1

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
11 months ago

@kotori-bot/kotori-plugin-adapter-cmd

Base on console i/o, a method for quickly testing modules, only support MessageScope.PRIVATE.

Config

export const config = Tsu.Object({
  nickname: Tsu.String().default('Kotarou').describe('User\'s nickname'),
  'self-nickname': Tsu.String().default('KotoriO').describe('Bot\'s nickname'),
  'self-id': Tsu.String().default('720').describe('Bot\'s id'),
})

Supports

Events

  • on_message (only MessageScope.PRIVATE)

Api

  • sendPrivateMsg

Elements

  • text
  • mention
  • mentionAll

Reference

1.1.1

11 months ago

1.1.0

1 year ago

1.0.0

2 years ago