Skip to content

Commit

Permalink
feat: migrate responses from Dyno
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed May 28, 2023
1 parent 580235b commit b86572f
Showing 1 changed file with 268 additions and 16 deletions.
284 changes: 268 additions & 16 deletions configuration.revanced.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,42 @@
"embed_color": 14908858,
"mute": {
"role": 953984696491061289,
"take": [996121272897519687, 965267139902705744, 995126555867086938]
"take": [
996121272897519687,
965267139902705744,
995126555867086938
]
},
"media_channels": [],
"media_channels": [],
"logging_channel": 1027892160797872179
},
"administrators": {
"roles": [955220417969262612],
"users": [737323631117598811]
"roles": [
955220417969262612
],
"users": [
737323631117598811
]
},
"thread_introductions": [],
"message_responses": [
{
"includes": {
"channels": [952946952348270626, 954147049832603748],
"match": ["(?i)(((error|open|patch).*){2,})", "abort", "crash"]
"channels": [
952946952348270626,
954147049832603748
],
"match": [
"(?i)(((error|open|patch).*){2,})",
"abort",
"crash"
]
},
"excludes": {
"roles": [
965267139902705744, 955220417969262612, 952987191401926697,
965267139902705744,
955220417969262612,
952987191401926697,
1027874293192863765
],
"match": []
Expand Down Expand Up @@ -55,28 +72,79 @@
},
"author": {
"name": "",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32",
"icon_url": "",
"url": ""
}
}
}
},
{
"includes": {
"channels": [952946952348270626, 954147049832603748],
"match": ["vanced\\.([^a]|a($|[^p]))"]
"channels": [
952946952348270626,
954147049832603748
],
"match": [
"vanced\\.([^a]|a($|[^p]))"
]
},
"excludes": {
"roles": [
965267139902705744, 955220417969262612, 952987191401926697,
965267139902705744,
955220417969262612,
952987191401926697,
1027874293192863765
],
"match": []
},
"condition": {
"user": {
"server_age": 730
"response": {
"embed": {
"title": "What are the official links of ReVanced❓",
"description": "A list of official links can be found in <#954066838856273960>.",
"color": 14908858,
"fields": [
{
"name": "🔸 Regarding your question",
"value": "ReVanced is always available at [revanced.app](https://revanced.app).",
"inline": false
}
],
"footer": {
"text": "ReVanced",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32"
},
"image": {
"url": ""
},
"thumbnail": {
"url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=128"
},
"author": {
"name": "",
"icon_url": "",
"url": ""
}
}
}
},
{
"includes": {
"channels": [
952946952348270626,
954147049832603748
],
"match": [
"vanced\\.([^a]|a($|[^p]))"
]
},
"excludes": {
"roles": [
965267139902705744,
955220417969262612,
952987191401926697,
1027874293192863765
],
"match": []
},
"response": {
"embed": {
Expand All @@ -102,11 +170,195 @@
},
"author": {
"name": "",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32",
"icon_url": "",
"url": ""
}
}
}
},
{
"includes": {
"match": [
"\\?dl"
]
},
"response": {
"embed": {
"title": "Where or how to get ReVanced ❓",
"description": "You might have asked a question that has already been answered in <#953993848374325269>. Make sure to read it as it will answer a lot of your questions guaranteed.",
"color": 14908858,
"fields": [
{
"name": "🔸 Regarding your question",
"value": "You can download prebuild packages to build ReVanced. For now, please follow the documentation in <#953993848374325269> `3`.",
"inline": false
}
],
"footer": {
"text": "ReVanced",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32"
},
"image": {
"url": ""
},
"thumbnail": {
"url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=128"
},
"author": {
"name": "",
"icon_url": "",
"url": ""
}
}
}
},
{
"includes": {
"match": [
"\\?support"
]
},
"response": {
"embed": {
"title": "Do you have a problem or need help ❓",
"description": "You might have asked a question that has already been answered in <#953993848374325269>. Make sure to read it as it will answer a lot of your questions guaranteed.",
"color": 14908858,
"fields": [
{
"name": "🔸 Regarding your question",
"value": "Please refer to <#953993848374325269> `11`.",
"inline": false
}
],
"footer": {
"text": "ReVanced",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32"
},
"image": {
"url": ""
},
"thumbnail": {
"url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=128"
},
"author": {
"name": "",
"icon_url": "",
"url": ""
}
}
}
},
{
"includes": {
"match": [
"\\?steps"
]
},
"response": {
"embed": {
"title": "Steps to debug your issue",
"description": "You might have asked a question that has already been answered in <#953993848374325269>. Read it, as it will answer many of your questions. After reading them, please attach a complete recording of the following steps to understand your issue better.",
"color": 13211573,
"fields": [
{
"name": "1. Uninstall any patched app",
"value": "If you previously installed a patched app, make sure it is uninstalled.",
"inline": false
},
{
"name": "2. Open and close ReVanced Manager",
"value": "This makes sure ReVanced Manager starts up and is set up correctly. Optionally you can also uninstall and re-install ReVanced Manager.",
"inline": false
},
{
"name": "3. Review the settings of ReVanced Manager",
"value": "Go to the settings of ReVanced Manager and review them one by one, making sure to show everything you changed as well.",
"inline": false
},
{
"name": "4. Patch the app",
"value": "Patch your app the way you did previously, which leads to your error.",
"inline": false
}
],
"footer": {
"text": "ReVanced",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32"
},
"image": {
"url": ""
},
"thumbnail": {
"url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=128"
},
"author": {
"name": "",
"icon_url": "",
"url": ""
}
}
}
},
{
"includes": {
"match": [
"\\?litho"
]
},
"response": {
"embed": {
"title": "How to hide Litho components from YouTube ❓",
"description": "Use the custom filter included in the `hide-ads` patch for YouTube, to hide Litho components by their `pathBuilder` string. The string contains the names of the components which can be filtered with the custom filter.",
"color": 14908858,
"fields": [
{
"name": "1. Preparation",
"value": "Enable debugging in the ReVanced settings. If the option does not exist, including the `debugging` before patching YouTube.",
"inline": false
},
{
"name": "2. Prerequisites",
"value": "Use a terminal such as Termux and run the command `logcat | grep AdsFilter | grep Unblocked`. You might need root or have to use ADB. Alternatively, any application from the Play Store can display logcat logs as well.",
"inline": false
},
{
"name": "3. Log the component name",
"value": "Open YouTube and make sure the component is not visible yet. You will have to make it appear/ render for example by scrolling the component out of view and back into view.",
"inline": false
},
{
"name": "4. Analyze the log output",
"value": "Every time a component appears/ renders. The component names will be logged. It might be comfortable to see the log output next to rendering the component.",
"inline": false
},
{
"name": "5. Hide the component",
"value": "Once you figure out the name of the component, add it to the custom filter setting of ReVanced. You can find the setting in the Ads sub preference. Don't forget to enable the custom filter. Multiple component names can be added, separated by a comma, with no spaces.",
"inline": false
},
{
"name": "6. Test the custom filter",
"value": "After the prompt to restart the app, check, if the component was hidden. If you were unsuccessful, you might want to find the correct component name in the logs.",
"inline": false
}
],
"footer": {
"text": "ReVanced",
"icon_url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=32"
},
"image": {
"url": ""
},
"thumbnail": {
"url": "https://cdn.discordapp.com/icons/952946952348270622/7a615335899c7bb7e9d46fbfe35bf353.webp?size=128"
},
"author": {
"name": "",
"icon_url": "",
"url": ""
}
}
}
}
]
}
}

0 comments on commit b86572f

Please sign in to comment.