New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koishi-plugin-teach

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koishi-plugin-teach - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

1

dist/index.d.ts

@@ -5,2 +5,3 @@ import { Context } from 'koishi-core';

export { TeachConfig };
export declare const name = "teach";
export declare function apply(ctx: Context, config?: TeachConfig): void;

3

dist/index.js

@@ -16,5 +16,6 @@ "use strict";

__export(require("./database"));
exports.name = 'teach';
function apply(ctx, config = {}) {
ctx.plugin(receiver_1.default, config);
const command = ctx.command('teach <question> <answer>', '教四季酱说话', { authority: 2, checkUnknown: true, ...config })
const command = ctx.command('teach <question> <answer>', '添加教学对话', { authority: 2, checkUnknown: true, ...config })
.alias('教学')

@@ -21,0 +22,0 @@ .shortcut('教学信息', { options: { info: true } })

{
"name": "koishi-plugin-teach",
"description": "Teach plugin for Koishi",
"version": "0.1.9",
"version": "0.1.10",
"main": "dist/index.js",

@@ -34,9 +34,10 @@ "typings": "dist/index.d.ts",

"devDependencies": {
"koishi-database-level": "^1.0.3",
"koishi-database-mysql": "^1.0.3"
"koishi-database-level": "^1.0.5",
"koishi-database-mysql": "^1.0.5",
"koishi-test-utils": "^1.2.1"
},
"dependencies": {
"koishi-core": "^1.1.1",
"koishi-core": "^1.3.1",
"koishi-utils": "^1.0.2"
}
}

@@ -1,4 +0,4 @@

# [koishi-plugin-teach](https://koishijs.github.io/plugins/teach.html)
# [koishi-plugin-teach](https://koishi.js.org/plugins/teach.html)
[![npm](https://img.shields.io/npm/v/koishi-plugin-teach?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-teach)

@@ -12,6 +12,8 @@ import { Context } from 'koishi-core'

export const name = 'teach'
export function apply (ctx: Context, config: TeachConfig = {}) {
ctx.plugin(receiver, config)
const command = ctx.command('teach <question> <answer>', '教四季酱说话', { authority: 2, checkUnknown: true, ...config })
const command = ctx.command('teach <question> <answer>', '添加教学对话', { authority: 2, checkUnknown: true, ...config })
.alias('教学')

@@ -18,0 +20,0 @@ .shortcut('教学信息', { options: { info: true } })

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc