mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-23 03:01:03 +00:00
feat: refactor and new features (#7)
* feat: refactor and new features + Refactored the codebase + OCR support in bots + Server sends training data every minute + Not using collectors for Discord feedback buttons anymore + Fixed grammar mistakes + Configs are now seperated + Tokens are no longer in configs - Like feedback doesn't work for Discord yet * feat: remove feedback button once voted * feat: role blacklist * feat: thread name check * feat: error handler for training * fix: bot crashing when a webhook msg is sent * refactor: remove debugging lines * feat: allow fixing mistake at votes in discord bot
This commit is contained in:
32
apps/bot-discord/src/config.example.json
Normal file
32
apps/bot-discord/src/config.example.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"discord": {
|
||||
"trainRole": "955220417969262612",
|
||||
"botId": "1038762591805247518",
|
||||
"ignoreRole": "1027874293192863765"
|
||||
},
|
||||
"server": {
|
||||
"port": 3000,
|
||||
"host": "192.168.1.6"
|
||||
},
|
||||
"responses": [
|
||||
{
|
||||
"label": "revanced_download",
|
||||
"threshold": 0.85,
|
||||
"reply": {
|
||||
"title": "How to download ReVanced?",
|
||||
"description": "You don't.",
|
||||
"color": 14908858
|
||||
}
|
||||
}
|
||||
],
|
||||
"ocrResponses": [
|
||||
{
|
||||
"regex": "is not installed",
|
||||
"reply": {
|
||||
"title": "Why can't I download videos",
|
||||
"description": "Because you didn't install the app.",
|
||||
"color": 14908858
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user