-
Notifications
You must be signed in to change notification settings - Fork 0
Config Description
| Name | Type | Default | Description |
|---|---|---|---|
| EnableTelegram | bool | true |
Enable/Disable Telegram notification. |
| TelegramToken | string | Empty as in ""
|
Telegram Bot token. |
| TelegramChatID | string | Empty as in ""
|
Telegram user chat id. |
| Name | Type | Default | Description |
|---|---|---|---|
| EnableBark | bool | false |
Enable/Disable Bark notification. |
| BarkAddress | string | https://api.day.app | Bark server address. Do NOT add additional slash( /) at the end of the string. |
| BarkToken | string | Empty as in ""
|
Bark device token. |
Before enabling this notify function, you need to setup NapCat server first. You can find instructions here.
Both HTTP and WebSocket uses the same ToQQID, that means:
-
ToQQIDshould always be set when one of them is enabled. - If both of them are enabled, notifications will be sent to the same
ToQQID.
NapCat's built-in HTTP server, check NapCat's config wiki for more information
| Name | Type | Default | Description |
|---|---|---|---|
| EnableQQHttp | bool | false |
Enable/Disable QQ HTTP notification. |
| QQHttpAddress | string | 127.0.0.1 | NapCat's HTTP server address. Do NOT add additional http:// at the head of the string.Program uses http protocol by default. |
| QQHttpPort | int | 3000 | NapCat's HTTP server listening port. |
| QQHttpToken | string | Empty as in ""
|
NapCat's HTTP server access token (keep it empty if not set). |
| ToQQID | string | Empty as in ""
|
Receiver's QQ ID. |
NapCat's built-in WebSocket server, check NapCat's config wiki for more information
| Name | Type | Default | Description |
|---|---|---|---|
| EnableQQWebSocket | bool | false |
Enable/Disable QQ WebSocket notification. |
| QQWebSocketAddress | string | 127.0.0.1 | NapCat's WebSocket server address. Program uses websocket (not secure) by default. |
| QQWebSocketPort | int | 3001 | NapCat's WebSocket server listening port. |
| QQWebSocketToken | string | Empty as in ""
|
NapCat's WebSocket server access token (keep it empty if not set). |
| ToQQID | string | Empty as in ""
|
Receiver's QQ ID. |
Before enabling PushPlus notify function, sign up PushPlus to get a token first.
| Name | Type | Default | Description |
|---|---|---|---|
| EnablePushPlus | bool | false |
Enable/Disable PushPlus notification. |
| PushPlusToken | string | Empty as in ""
|
PushPlus token. |
You need to setup a DingTalk bot to use this function. Documentation can be found at 企业自建单聊机器人.
A webhook link, which contains the DingTalkBotToken (as in access_token), will be generated after adding a bot to a group.
| Name | Type | Default | Description |
|---|---|---|---|
| EnableDingTalk | bool | false |
Enable/Disable DingTalk notification. |
| DingTalkBotToken | string | Empty as in ""
|
DingTalk group bot access token. |
Once you add the device and key in PushDeer App, fill PushDeerToken with the PushDeer key.
| Name | Type | Default | Description |
|---|---|---|---|
| EnablePushDeer | bool | false |
Enable/Disable PushDeer notification. |
| PushDeerToken | string | Empty as in ""
|
PushDeer key. |
Get your Discord channel Webhook URL first.
| Name | Type | Default | Description |
|---|---|---|---|
| EnableDiscord | bool | false |
Enable/Disable Discord notification. |
| DiscordWebhookURL | string | Empty as in ""
|
Discord Webhook URL. |
| Name | Type | Default | Description |
|---|---|---|---|
| EnableEmail | bool | false |
Enable/Disable email notification. |
| SMTPServer | string | Empty as in ""
|
SMTP server address, in smtp.xxxxx.xxxx format. |
| SMTPPort | int | 465 | Default SMTP port. |
| FromEmailAddress | string | Empty as in ""
|
Sender's mail address. |
| ToEmailAddress | string | Empty as in ""
|
Receiver's mail address. |
| AuthAccount | string | Empty as in ""
|
SMTP authentication account. |
| AuthPassword | string | Empty as in ""
|
SMTP authentication password. |
| Name | Type | Default | Description |
|---|---|---|---|
| EnableMeow | bool | false |
Enable/Disable MeoW notification. |
| MeowAddress | string | https://api.chuckfang.com | MeoW server address. Do NOT add additional slash( /) at the end of the string. |
| MeowNickname | string | Empty as in ""
|
MeoW device nickname. |
| Name | Type | Default | Description |
|---|---|---|---|
| EnableAutoClaim | bool | true |
Enable/Disable auto claim giveaway function. |
| Cookie | string | Empty as in ""
|
GOG login credential cookies |
- Login GOG account.
- Open browser's Developer Console in current tab, navigate to Network tab.
- Visit https://www.gog.com/giveaway/claim.
- Normally you will find result like
{"message":"Already claimed"}, if themessageisUnauthorizedit means you're not logged in.
- Normally you will find result like
- Select
claimentry under Network tab, copy all the content found in the cookie header. - Paste it in config file.