karin-plugin-teamspeak 1.1.0 → 1.2.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/lib/apps/ts3.d.ts CHANGED
@@ -4,8 +4,6 @@ declare class ts3 {
4
4
  connectTimer: number;
5
5
  init: () => Promise<void>;
6
6
  getAllChannelList: () => Promise<string | undefined>;
7
- quitTs: () => Promise<void>;
8
- reconnectTs: () => Promise<void>;
9
7
  }
10
8
  declare const teamspeak3: ts3;
11
9
  export default teamspeak3;
package/lib/apps/ts3.js CHANGED
@@ -136,18 +136,6 @@ class ts3 {
136
136
  : `当前频道内共有${count}人`);
137
137
  return usePuppeteer ? renderList.join("") : renderList.join("\n");
138
138
  };
139
- //关闭连接
140
- quitTs = async () => {
141
- if (this.teamspeak) {
142
- this.teamspeak.quit();
143
- }
144
- };
145
- //重新连接
146
- reconnectTs = async () => {
147
- if (this.teamspeak) {
148
- this.teamspeak.reconnect(config().RECONNECT_TIMER, 1000);
149
- }
150
- };
151
139
  }
152
140
  const teamspeak3 = new ts3();
153
141
  teamspeak3.init();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "karin-plugin-teamspeak",
3
- "version": "1.1.0",
3
+ "version": "1.2.2",
4
4
  "description": "karin 的 teamspeak3 插件",
5
5
  "homepage": "https://github.com/jacksixth/karin-plugin-teamspeak3",
6
6
  "bugs": {