Skip to content

Commit

Permalink
Fix lint errors for src/userplugins/_otherplugins/youtubeDescription/…
Browse files Browse the repository at this point in the history
…index.tsx
  • Loading branch information
zeon-neon[bot] authored May 31, 2024
1 parent 0adbc62 commit 858e7a7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/userplugins/_otherplugins/youtubeDescription/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/

import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { Devs } from '@utils/constants'
import definePlugin from '@utils/types'

export default definePlugin({
name: "YoutubeDescription",
description: "Adds descriptions to youtube video embeds",
authors: [Devs.arHSM],
patches: [
{
find: ".default.Messages.SUPPRESS_ALL_EMBEDS",
replacement: {
match: /case \i\.MessageEmbedTypes\.VIDEO:(case \i\.MessageEmbedTypes\.\i:)*break;default:(\i=this\.renderDescription\(\))\}/,
replace: "$1 break; default: $2 }"
}
}
]
});
name: 'YoutubeDescription',
description: 'Adds descriptions to youtube video embeds',
authors: [Devs.arHSM],
patches: [
{
find: '.default.Messages.SUPPRESS_ALL_EMBEDS',
replacement: {
match: /case \i\.MessageEmbedTypes\.VIDEO:(case \i\.MessageEmbedTypes\.\i:)*break;default:(\i=this\.renderDescription\(\))\}/,
replace: '$1 break; default: $2 }'
}
}
]
})

0 comments on commit 858e7a7

Please sign in to comment.