diff --git a/src/plugins/gifPaste/index.ts b/src/plugins/gifPaste/index.ts index f690fa293..70b53f4e2 100644 --- a/src/plugins/gifPaste/index.ts +++ b/src/plugins/gifPaste/index.ts @@ -16,8 +16,6 @@ * along with this program. If not, see . */ -import { isPluginEnabled } from "@api/PluginManager"; -import betterGifPicker from "@plugins/betterGifPicker"; import { Devs } from "@utils/constants"; import { insertTextIntoChatInputBox } from "@utils/discord"; import definePlugin from "@utils/types"; @@ -40,10 +38,7 @@ export default definePlugin({ handleSelect(gif?: { url: string; }) { if (gif) { insertTextIntoChatInputBox(gif.url + " "); - - if (!(isPluginEnabled(betterGifPicker.name) && betterGifPicker.settings.store.keepOpen)) { - ExpressionPickerStore.closeExpressionPicker(); - } + ExpressionPickerStore.closeExpressionPicker(); } } });