Files
revanced-bots/apps/bot-discord/src/config.json
taku 28545c7ae9 fix: better sticky notice (#18)
* fix: better sticky notice

* Update apps/bot-discord/src/config.json

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

* Update apps/bot-discord/src/config.json

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

* fix: move description into field

* fix: makes osu structure happy

* fix: more small changes

* Update apps/bot-discord/src/config.json

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

* Update apps/bot-discord/src/config.json

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

* Update apps/bot-discord/src/config.json

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

---------

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-08-08 17:43:14 +03:00

208 lines
6.9 KiB
JSON

{
"discord": {
"trainRoles": [
"1019903194941362198",
"955220417969262612"
],
"modRoles": [
"955220417969262612",
"973886585294704640"
],
"botId": "1038762591805247518",
"ignoreRole": "1027874293192863765",
"ignoreChannels": [
"953965039105232906",
"953964264400515092",
"952987428786941952"
],
"supportChannel": "1135563848586379264",
"mute": {
"takeRoles": [
"996121272897519687",
"965267139902705744",
"995126555867086938"
],
"giveRoles": [
"953984696491061289"
],
"supportTakeRoles" : [
],
"supportGiveRoles" : [
],
"supportMuteDuration": 600000
}
},
"logs": {
"channelId": "952987428786941952",
"threadId": "1027892160797872179"
},
"sticky": {
"channelId": "1135563848586379264",
"stickyMessage": {
"title": "Sticky notice",
"color": 5150960,
"fields": [
{
"name": "🔸 Before you ask",
"value": "Check the pinned messages and <#953993848374325269> for existing answers."
},
{
"name": "🔸 How to ask",
"value": "Include the following information:\n* Version of ReVanced Manager\n*Name of the app you are patching\n*Version of the app you are patching"
}
],
"footer": {
"text": "ReVanced",
"icon_url": "https://cdn.discordapp.com/attachments/1095487869923119144/1115436493050224660/revanced-logo.png"
},
"thumbnail": {
"url": "https://cdn.discordapp.com/attachments/1095487869923119144/1115436493050224660/revanced-logo.png"
}
},
"timeout": 180000
},
"server": {
"port": 3000,
"host": "127.0.0.1"
},
"responses": [
{
"label": "revanced_crash",
"threshold": 0.85,
"reply": {
"title": "Why is my patched app crashing?",
"description": "It seems like your patched application is crashing, these might be the reason why:\n * You patched a non-suggested version.\n * Patches failed to apply.\n * Non-default patches were used.\n * Split APK was used.",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "rvmanager_abort",
"threshold": 0.85,
"reply": {
"title": "Why is ReVanced Manager aborting?",
"description": "It seems like your Manager is aborting. If you see the text \"exit code = 135\" or \"exit code = 139\", then your device's architecture is not supported. Please patch on another device or on your PC.",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "revanced_download",
"threshold": 0.85,
"reply": {
"title": "How to download ReVanced?",
"description": "ReVanced is a patcher. You can use the [ReVanced Manager](https://github.com/revanced/revanced-manager/releases/latest) or the [ReVanced CLI](https://github.com/revanced/revanced-cli) to patch the app you want to modify.\n* [ReVanced Manager docs](https://github.com/revanced/revanced-manager/tree/main/docs#-revanced-manager)\n* [ReVanced CLI docs](https://github.com/revanced/revanced-cli/tree/main/docs#-documentation-and-guides-of-revanced-cli)",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "androidtv_support",
"threshold": 0.85,
"reply": {
"title": "Will YT ReVanced support Android TVs?",
"description": "YouTube ReVanced for Android/Google TVs won't be made. There are alternatives, such as [SmartTubeNext](https://github.com/yuliskov/SmartTubeNext#smarttube).",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "revanced_nodownloader",
"threshold": 0.85,
"reply": {
"title": "Why can't I download videos?",
"description": "You need to install a downloader to download videos. NewPipe is the default downloader, and it can be downloaded from [here](https://github.com/TeamNewPipe/NewPipe/releases/latest).",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "revanced_casting",
"threshold": 0.85,
"reply": {
"title": "Why can't I cast?",
"description": "Because of devices like Chromecast, Android/Google TVs using the Cast v2 API, casting to those devices won't work.",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "microg_download",
"threshold": 0.85,
"reply": {
"title": "From where can I download Vanced MicroG?",
"description": "You can download Vanced MicroG from [here](https://github.com/TeamVanced/VancedMicroG/releases/latest).",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "microg_nointernet",
"threshold": 0.85,
"reply": {
"title": "Why does YT ReVanced say I'm offline?",
"description": "If your YT ReVanced appears to not have internet and you recently changed your Google password, remove the Vanced MicroG account from within your device settings and then log back in.",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "rvdownload_unofficial",
"threshold": 0.85,
"reply": {
"title": "What are the official ReVanced sites?",
"description": "The official sites for ReVanced are [revanced.app](https://revanced.app) and [github.com/revanced](https://github.com/revanced).",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "yt_buffering",
"threshold": 0.85,
"reply": {
"title": "Why do videos fail to play?",
"description": "Check [this](https://discord.com/channels/952946952348270622/954833032114733086/1121235521801310229) announcement.",
"color": 14908858
},
"closeThread": false,
"lockThread": false
},
{
"label": "false",
"threshold": 0,
"reply": null,
"closeThread": false,
"lockThread": false
}
],
"ocrResponses": [
{
"regex": "is not installed",
"reply": {
"title": "Why can't I download videos?",
"description": "You need to install a downloader to download videos. NewPipe is the default downloader, and it can be downloaded from [here](https://github.com/TeamNewPipe/NewPipe/releases/latest).",
"color": 14908858
}
},
{
"regex": "You're offline|Please check your",
"reply": {
"title": "Why does YT ReVanced say I'm offline?",
"description": "If your YT ReVanced appears to not have internet and you recently changed your Google password, remove the Vanced MicroG account from within your device settings and then log back in.",
"color": 14908858
}
}
]
}