mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 14:43:03 -04:00
🧹🧹
This commit is contained in:
parent
42d8211871
commit
07a9adbce2
35 changed files with 48 additions and 137 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue