Skip to content

Commit eef055b

Browse files
committed
Удаление поля bot_name конфига
1 parent 31168ae commit eef055b

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

CONFIG_FIELDS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
| Поле | Пример заполнения | Описание |
2222
| -------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
2323
| `webhook_urls` | `["https://discordapp.com/api/webhooks/1", "https://discordapp.com/api/webhooks/2"]` | WebHook-ссылки, можно использовать несколько ссылок на разные каналы Discord. |
24-
| `bot_name` | `"VK2DISCORD"` | Имя WebHook, высвечивается в качестве имени бота. |
2524
| `color` | `"#aabbcc"` | Цвет рамки сообщения Discord в формате [HEX](https://www.color-hex.com/). |
2625
| `author` | `false` | Указывать автора записи ВКонтакте (если имеется) в сообщении Discord. |
2726
| `copyright` | `true` | Указывать источник записи ВКонтакте (если имеется) в сообщении Discord. |

config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
"webhook_urls": [
1414
"https://discordapp.com/api/webhooks/"
1515
],
16-
"bot_name": "VK2DISCORD",
1716
"color": "#aabbcc",
1817
"author": true,
1918
"copyright": true
2019
}
2120
}
2221
],
2322
"version_dont_modify_me": 2
24-
}
23+
}

config_example.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"webhook_urls": [
1414
"https://discordapp.com/api/webhooks/730807540459241472"
1515
],
16-
"bot_name": "VK2DISCORD",
1716
"color": "#aabbcc",
1817
"author": true,
1918
"copyright": false
@@ -33,7 +32,6 @@
3332
"https://discordapp.com/api/webhooks/730807540459241472",
3433
"https://discordapp.com/api/webhooks/234556456456567632"
3534
],
36-
"bot_name": "VK2DISCORD",
3735
"color": "#ffbbff",
3836
"author": true,
3937
"copyright": true

test/test.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const cluster = {
2121
webhook_urls: [
2222
process.env.WEBHOOK
2323
],
24-
bot_name: "Travis",
2524
color: "#ffbbff",
2625
author: true,
2726
copyright: true

0 commit comments

Comments
 (0)