mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-04-29 22:14:28 +02:00
feat: add response to close threads
This commit is contained in:
parent
3aab088c36
commit
3fcc9f050d
@ -313,6 +313,41 @@
|
||||
}
|
||||
},
|
||||
"respond_to_reference": true
|
||||
},
|
||||
{
|
||||
"includes": {
|
||||
"match": [
|
||||
"\\?close"
|
||||
],
|
||||
"roles": [1019903194941362198]
|
||||
},
|
||||
"response": {
|
||||
"embed": {
|
||||
"title": "Closing ✅",
|
||||
"description": "This thread has been closed. You can reopen it by sending `?open`.",
|
||||
"color": 5150960,
|
||||
"fields": [],
|
||||
"footer": {
|
||||
"text": "ReVanced",
|
||||
"icon_url": "https://cdn.discordapp.com/attachments/1095487869923119144/1115436493050224660/revanced-logo.png"
|
||||
},
|
||||
"image": {
|
||||
"url": ""
|
||||
},
|
||||
"thumbnail": {
|
||||
"url": "https://cdn.discordapp.com/attachments/1095487869923119144/1115436493050224660/revanced-logo.png"
|
||||
},
|
||||
"author": {
|
||||
"name": "",
|
||||
"icon_url": "",
|
||||
"url": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"respond_to_reference": true,
|
||||
"thread_options": {
|
||||
"close_on_response": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user