Skip to content

Commit 8dcfaa0

Browse files
committed
优化: Freeanywhere新增tg任务识别
1 parent f7b7407 commit 8dcfaa0

19 files changed

+66
-31
lines changed

.github/workflows/Release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
uses: softprops/action-gh-release@v1
2222
with:
2323
prerelease: false
24-
tag_name: v4.7.1
25-
name: 4.7.1
26-
body: '- 优化: Freeanywhere新增vk任务识别'
24+
tag_name: v4.7.2
25+
name: 4.7.2
26+
body: '- 优化: Freeanywhere新增tg任务识别'
2727
files: |-
2828
dist/auto-task-v4-for-giveawaysu.user.js
2929
dist/auto-task-v4.compatibility.user.js

dist/auto-task-v4-for-giveawaysu.all.user.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auto-task-v4-for-giveawaysu.user.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auto-task-v4.all.user.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name auto-task-v4
33
// @namespace auto-task-v4
4-
// @version 4.7.1
4+
// @version 4.7.2
55
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
66
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
77
// @author HCLonely
@@ -1494,6 +1494,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
14941494
SweepWidgetNotice: '正在处理并验证任务,每次验证任务有1~3s间隔防止触发验证过快警告...',
14951495
tasksNotCompleted: '任务未完成',
14961496
notConnect: '社交平台未连接,跳过任务',
1497+
tgTaskNotice: '检测到Telegram任务,需要手动完成',
14971498
confirmingTask: '正在跳过警告页面...'
14981499
};
14991500
const zh_CN = data;
@@ -1782,6 +1783,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
17821783
SweepWidgetNotice: 'The task is being processed and verified. ' + 'There is an interval of 1~3s for each verification task to prevent the triggering of too fast verification warning...',
17831784
tasksNotCompleted: 'Tasks Not Completed',
17841785
notConnect: 'Social platform is not connectted, skip',
1786+
tgTaskNotice: 'The telegram task is checked, need to do it yourself!',
17851787
confirmingTask: 'Confirming task...'
17861788
};
17871789
const en_US = en_US_data;
@@ -7101,6 +7103,10 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
71017103
}
71027104
break;
71037105

7106+
case 'telegram_channel_sub':
7107+
scripts_echoLog({}).warning(`${i18n('tgTaskNotice')}`);
7108+
break;
7109+
71047110
case 'none':
71057111
scripts_echoLog({}).warning(`${i18n('notConnect')}`);
71067112
break;

dist/auto-task-v4.compatibility.all.user.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auto-task-v4.compatibility.user.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auto-task-v4.user.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name auto-task-v4
33
// @namespace auto-task-v4
4-
// @version 4.7.1
4+
// @version 4.7.2
55
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
66
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
77
// @author HCLonely
@@ -1475,6 +1475,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
14751475
SweepWidgetNotice: '正在处理并验证任务,每次验证任务有1~3s间隔防止触发验证过快警告...',
14761476
tasksNotCompleted: '任务未完成',
14771477
notConnect: '社交平台未连接,跳过任务',
1478+
tgTaskNotice: '检测到Telegram任务,需要手动完成',
14781479
confirmingTask: '正在跳过警告页面...'
14791480
};
14801481
const zh_CN = data;
@@ -1763,6 +1764,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
17631764
SweepWidgetNotice: 'The task is being processed and verified. ' + 'There is an interval of 1~3s for each verification task to prevent the triggering of too fast verification warning...',
17641765
tasksNotCompleted: 'Tasks Not Completed',
17651766
notConnect: 'Social platform is not connectted, skip',
1767+
tgTaskNotice: 'The telegram task is checked, need to do it yourself!',
17661768
confirmingTask: 'Confirming task...'
17671769
};
17681770
const en_US = en_US_data;
@@ -7082,6 +7084,10 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
70827084
}
70837085
break;
70847086

7087+
case 'telegram_channel_sub':
7088+
scripts_echoLog({}).warning(`${i18n('tgTaskNotice')}`);
7089+
break;
7090+
70857091
case 'none':
70867092
scripts_echoLog({}).warning(`${i18n('notConnect')}`);
70877093
break;

doc/docs/logs/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ lang: zh-CN
55

66
## V4.7
77

8+
### V4.7.2
9+
10+
[Release](https://github.com/HCLonely/auto-task-v4/releases/tag/v4.7.2)
11+
12+
- 优化: Freeanywhere新增tg任务识别
13+
814
### V4.7.1
915

1016
[Release](https://github.com/HCLonely/auto-task-v4/releases/tag/v4.7.1)

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "auto-task-v4",
3-
"version": "4.7.1",
3+
"version": "4.7.2",
44
"change": [
5-
"优化: Freeanywhere新增vk任务识别"
5+
"优化: Freeanywhere新增tg任务识别"
66
],
77
"description": "赠Key站自动任务脚本",
88
"engines": {

page/dist/auto-task-v4-for-giveawaysu.all.user.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

page/dist/auto-task-v4-for-giveawaysu.user.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

page/dist/auto-task-v4.all.user.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name auto-task-v4
33
// @namespace auto-task-v4
4-
// @version 4.7.1
4+
// @version 4.7.2
55
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
66
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
77
// @author HCLonely
@@ -1494,6 +1494,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
14941494
SweepWidgetNotice: '正在处理并验证任务,每次验证任务有1~3s间隔防止触发验证过快警告...',
14951495
tasksNotCompleted: '任务未完成',
14961496
notConnect: '社交平台未连接,跳过任务',
1497+
tgTaskNotice: '检测到Telegram任务,需要手动完成',
14971498
confirmingTask: '正在跳过警告页面...'
14981499
};
14991500
const zh_CN = data;
@@ -1782,6 +1783,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
17821783
SweepWidgetNotice: 'The task is being processed and verified. ' + 'There is an interval of 1~3s for each verification task to prevent the triggering of too fast verification warning...',
17831784
tasksNotCompleted: 'Tasks Not Completed',
17841785
notConnect: 'Social platform is not connectted, skip',
1786+
tgTaskNotice: 'The telegram task is checked, need to do it yourself!',
17851787
confirmingTask: 'Confirming task...'
17861788
};
17871789
const en_US = en_US_data;
@@ -7101,6 +7103,10 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
71017103
}
71027104
break;
71037105

7106+
case 'telegram_channel_sub':
7107+
scripts_echoLog({}).warning(`${i18n('tgTaskNotice')}`);
7108+
break;
7109+
71047110
case 'none':
71057111
scripts_echoLog({}).warning(`${i18n('notConnect')}`);
71067112
break;

page/dist/auto-task-v4.compatibility.all.user.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

page/dist/auto-task-v4.compatibility.user.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

page/dist/auto-task-v4.user.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name auto-task-v4
33
// @namespace auto-task-v4
4-
// @version 4.7.1
4+
// @version 4.7.2
55
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
66
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
77
// @author HCLonely
@@ -1475,6 +1475,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
14751475
SweepWidgetNotice: '正在处理并验证任务,每次验证任务有1~3s间隔防止触发验证过快警告...',
14761476
tasksNotCompleted: '任务未完成',
14771477
notConnect: '社交平台未连接,跳过任务',
1478+
tgTaskNotice: '检测到Telegram任务,需要手动完成',
14781479
confirmingTask: '正在跳过警告页面...'
14791480
};
14801481
const zh_CN = data;
@@ -1763,6 +1764,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
17631764
SweepWidgetNotice: 'The task is being processed and verified. ' + 'There is an interval of 1~3s for each verification task to prevent the triggering of too fast verification warning...',
17641765
tasksNotCompleted: 'Tasks Not Completed',
17651766
notConnect: 'Social platform is not connectted, skip',
1767+
tgTaskNotice: 'The telegram task is checked, need to do it yourself!',
17661768
confirmingTask: 'Confirming task...'
17671769
};
17681770
const en_US = en_US_data;
@@ -7082,6 +7084,10 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
70827084
}
70837085
break;
70847086

7087+
case 'telegram_channel_sub':
7088+
scripts_echoLog({}).warning(`${i18n('tgTaskNotice')}`);
7089+
break;
7090+
70857091
case 'none':
70867092
scripts_echoLog({}).warning(`${i18n('notConnect')}`);
70877093
break;

page/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "auto-task-v4",
3-
"version": "4.7.1",
3+
"version": "4.7.2",
44
"change": [
5-
"优化: Freeanywhere新增vk任务识别"
5+
"优化: Freeanywhere新增tg任务识别"
66
],
77
"description": "赠Key站自动任务脚本",
88
"engines": {

src/locales/en-US.js

+1
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ const data = {
347347
// Freeanywhere
348348
tasksNotCompleted: 'Tasks Not Completed',
349349
notConnect: 'Social platform is not connectted, skip',
350+
tgTaskNotice: 'The telegram task is checked, need to do it yourself!',
350351

351352
// opquests
352353
confirmingTask: 'Confirming task...'

src/locales/zh-CN.js

+1
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ const data = {
326326
// Freeanywhere
327327
tasksNotCompleted: '任务未完成',
328328
notConnect: '社交平台未连接,跳过任务',
329+
tgTaskNotice: '检测到Telegram任务,需要手动完成',
329330

330331
// opquests
331332
confirmingTask: '正在跳过警告页面...'

src/scripts/website/Freeanywhere.ts

+3
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ class FreeAnyWhere extends Website {
248248
if (action === 'undo' && link) this.socialTasks.discord.serverLinks.push(link);
249249
if (action === 'do' && !isSuccess && link) this.undoneTasks.discord.serverLinks.push(link);
250250
break;
251+
case 'telegram_channel_sub':
252+
echoLog({}).warning(`${__('tgTaskNotice')}`);
253+
break;
251254
case 'none':
252255
echoLog({}).warning(`${__('notConnect')}`);
253256
break;

0 commit comments

Comments
 (0)