mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-26 17:26:22 +00:00
24 lines
633 B
TypeScript
24 lines
633 B
TypeScript
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2024 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
import { Devs } from "@utils/constants";
|
|
import definePlugin from "@utils/types";
|
|
|
|
export default definePlugin({
|
|
name: "ImageLink",
|
|
description: "Never hide image links in messages, even if it's the only content",
|
|
authors: [Devs.Kyuuhachi, Devs.Sqaaakoi],
|
|
|
|
patches: [
|
|
{
|
|
find: "unknownUserMentionPlaceholder:",
|
|
replacement: {
|
|
match: /\(0,\i\.isEmbedInline\)\(\i\)/,
|
|
replace: "false",
|
|
}
|
|
}
|
|
]
|
|
});
|