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

1.1.0 • Public • Published

@kotori-bot/kotori-plugin-adapter-onebot

To test bot for Kotori.

Config

No configuration is required.

Supports

Events

  • on_message (exclude RequestScope.CHANNEL)
  • on_message_delete (exclude MessageScope.CHANNEL)
  • on_group_increase
  • on_group_decrease
  • on_group_whole_ban
  • on_friend_decrease
  • on_friend_increase
  • on_group_ban
  • on_group_admin

Api

  • sendPrivateMsg
  • sendGroupMsg
  • deleteMsg
  • getUserInfo
  • getFriendList
  • getGroupInfo
  • getGroupList
  • getGroupMemberInfo
  • getGroupMemberList
  • setGroupName
  • leaveGroup
  • setGroupAdmin
  • setGroupCard
  • setGroupBan
  • setGroupWholeBan
  • setGroupKick

Elements

  • text
  • mention
  • mentionAll
  • image
  • voice
  • audio
  • video
  • reply
  • file

Reference

Package Sidebar

Install

npm i @kotori-bot/kotori-plugin-adapter-sandbox

Weekly Downloads

1

Version

1.1.0

License

GPL-3.0

Unpacked Size

75.3 kB

Total Files

13

Last publish

Collaborators

  • biyuehu