kokkoro-plugin-kfc 1.0.1 → 1.0.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 kokkorojs
3
+ Copyright (c) 2022 yuki
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/lib/service.js CHANGED
@@ -36,7 +36,7 @@ class Service {
36
36
  const uin = uins[i];
37
37
  const info = bot.gl.get(uin);
38
38
  const { group_id } = info;
39
- const { apply, auto_send } = bot.profile.getOption(group_id, 'message');
39
+ const { apply, auto_send } = bot.profile.getOption(group_id, 'kfc');
40
40
  if (apply && auto_send) {
41
41
  sendQueue.push(bot.sendGroupMsg(group_id, message));
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kokkoro-plugin-kfc",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "肯德基疯狂星期四段子",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -27,4 +27,4 @@
27
27
  "files": [
28
28
  "lib"
29
29
  ]
30
- }
30
+ }