From 8161a07dba401f04dac93f861e6b2cffe53ab7e3 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 1 Oct 2022 00:42:50 +0200 Subject: Add in client updater, Notices API --- src/plugins/clickableRoleDot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/clickableRoleDot.ts') diff --git a/src/plugins/clickableRoleDot.ts b/src/plugins/clickableRoleDot.ts index 63ad84e..800a742 100644 --- a/src/plugins/clickableRoleDot.ts +++ b/src/plugins/clickableRoleDot.ts @@ -17,7 +17,7 @@ export default definePlugin({ ], copyToClipBoard(color: string) { - DiscordNative.clipboard.copy(color); + window.DiscordNative.clipboard.copy(color); Toasts.show({ message: "Copied to Clipboard!", type: Toasts.Type.SUCCESS, -- cgit