diff options
author | V <vendicated@riseup.net> | 2023-06-13 02:36:25 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-06-13 03:45:05 +0200 |
commit | 07a9adbce25e42dcd4d1eb25ee011328d0543304 (patch) | |
tree | c4ea6230e57cc3a77adc53c25efb91ea148a6dea /src/api/Badges.ts | |
parent | 42d8211871d84e2650f7c762c66e2ee2e6c58968 (diff) | |
download | Vencord-07a9adbce25e42dcd4d1eb25ee011328d0543304.tar.gz Vencord-07a9adbce25e42dcd4d1eb25ee011328d0543304.tar.bz2 Vencord-07a9adbce25e42dcd4d1eb25ee011328d0543304.zip |
🧹🧹
Diffstat (limited to 'src/api/Badges.ts')
-rw-r--r-- | src/api/Badges.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/Badges.ts b/src/api/Badges.ts index a0961c4..b50016c 100644 --- a/src/api/Badges.ts +++ b/src/api/Badges.ts @@ -22,7 +22,7 @@ import { ComponentType, HTMLProps } from "react"; import Plugins from "~plugins"; -export enum BadgePosition { +export const enum BadgePosition { START, END } @@ -79,7 +79,7 @@ export function _getBadges(args: BadgeUserArgs) { : badges.push({ ...badge, ...args }); } } - const donorBadges = (Plugins.BadgeAPI as unknown as typeof import("../plugins/apiBadges").default).getDonorBadges(args.user.id); + const donorBadges = (Plugins.BadgeAPI as unknown as typeof import("../plugins/_api/badges").default).getDonorBadges(args.user.id); if (donorBadges) badges.unshift(...donorBadges); return badges; |