add translate action to ctx ocr

This commit is contained in:
bignutty 2024-11-07 20:27:25 +01:00
parent 13e2437b69
commit 2d25e87249
3 changed files with 61 additions and 11 deletions

View file

@ -3,6 +3,12 @@ const { Hosts } = require('../api/endpoints')
// Add static brand icons here
// Update the revision id to break discord cache
const Statics = Object.freeze({
actions: {
translate: {
file: "icons/boulevard/action-translate.png",
revision: 1
}
},
assets: {
chat_loading: {
file: "loading/05_chat_loading.7y2ji893rho0.gif",
@ -262,4 +268,8 @@ module.exports.STATIC_ASSETS = Object.freeze({
image_loading: staticAsset(Statics.assets.image_loading),
embed_invite_spacer: staticAsset(Statics.assets.embed_invite_spacer),
emoji_placeholder: staticAsset(Statics.assets.emoji_placeholder)
})
module.exports.STATIC_ACTIONS = Object.freeze({
translate: staticAsset(Statics.actions.translate)
})