koishi-plugin-cat-raising 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -112,9 +112,9 @@ function parseEvents(text) {
|
|
|
112
112
|
__name(parseEvents, "parseEvents");
|
|
113
113
|
function apply(ctx, config) {
|
|
114
114
|
const forwardedHistory = [];
|
|
115
|
-
const HISTORY_SIZE =
|
|
115
|
+
const HISTORY_SIZE = 10;
|
|
116
116
|
const REJECTION_KEYWORDS = ["签到", "打卡"];
|
|
117
|
-
const OVERRIDE_KEYWORDS = ["神金", "发"
|
|
117
|
+
const OVERRIDE_KEYWORDS = ["神金", "发"];
|
|
118
118
|
ctx.on("message", async (session) => {
|
|
119
119
|
if (session.channelId !== config.monitorGroup) return;
|
|
120
120
|
const originalMessageContent = session.content;
|