From 7d6ce4055d9965da3dd487d3e7e379e73641e974 Mon Sep 17 00:00:00 2001 From: amsyarasyiq <82711525+amsyarasyiq@users.noreply.github.com> Date: Tue, 13 Jun 2023 23:09:00 +0800 Subject: [PATCH] HoldGIFSend: unload properly --- plugins/HoldGIFSend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/HoldGIFSend/src/index.ts b/plugins/HoldGIFSend/src/index.ts index b8c9d60..aa17f2f 100644 --- a/plugins/HoldGIFSend/src/index.ts +++ b/plugins/HoldGIFSend/src/index.ts @@ -3,4 +3,4 @@ import { instead } from "@vendetta/patcher"; const messageInputUtil = findByProps("selectGIF"); -export const unLoad = instead("selectGIF", messageInputUtil, ([{ url }]) => messageInputUtil.insertText(url)); +export const onUnload = instead("selectGIF", messageInputUtil, ([{ url }]) => messageInputUtil.insertText(url));