Skip to content

Commit

Permalink
Update badge list
Browse files Browse the repository at this point in the history
  • Loading branch information
untuned authored Dec 9, 2022
1 parent 2987525 commit 683107e
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions AssignBadges/AssignBadges.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,38 +341,38 @@ function buildPlugin([BasePlugin, PluginApi]) {
const UserFlagsFormatted = [{
id: "STAFF",
value: UserFlags["STAFF"],
name: "Discord Staff",
name: "Discord Employee",
key: BadgeKeys["STAFF"]
}, {
id: "PARTNER",
value: UserFlags["PARTNER"],
name: "Partnered Server Owner",
key: BadgeKeys["PARTNER"]
}, {
id: "CERTIFIED_MODERATOR",
value: UserFlags["CERTIFIED_MODERATOR"],
name: "Moderator Programs Alumni",
key: BadgeKeys["CERTIFIED_MODERATOR"]
}, {
id: "HYPESQUAD",
value: UserFlags["HYPESQUAD"],
name: "HypeSquad Events",
name: "HypeSquad Events Member",
key: BadgeKeys["HYPESQUAD"]
}, {
id: "HYPESQUAD_ONLINE_HOUSE_1",
value: UserFlags["HYPESQUAD_ONLINE_HOUSE_1"],
name: "House Bravery",
name: "House Bravery Member",
key: BadgeKeys["HYPESQUAD_ONLINE_HOUSE_1"]
}, {
id: "HYPESQUAD_ONLINE_HOUSE_2",
value: UserFlags["HYPESQUAD_ONLINE_HOUSE_2"],
name: "House Brilliance",
name: "House Brilliance Member",
key: BadgeKeys["HYPESQUAD_ONLINE_HOUSE_2"]
}, {
id: "HYPESQUAD_ONLINE_HOUSE_3",
value: UserFlags["HYPESQUAD_ONLINE_HOUSE_3"],
name: "House Balance",
name: "House Balance Member",
key: BadgeKeys["HYPESQUAD_ONLINE_HOUSE_3"]
}, {
id: "EARLY_VERIFIED_BOT",
value: 0,
name: "Verified Bot",
key: BadgeKeys["VERIFIED_BOT"]
}, {
id: "BUG_HUNTER_LEVEL_1",
value: UserFlags["BUG_HUNTER_LEVEL_1"],
Expand All @@ -384,20 +384,20 @@ function buildPlugin([BasePlugin, PluginApi]) {
name: "Bug Hunter Level 2",
key: BadgeKeys["BUG_HUNTER_LEVEL_2"]
}, {
id: "EARLY_SUPPORTER",
value: UserFlags["PREMIUM_EARLY_SUPPORTER"],
name: "Early Supporter",
key: BadgeKeys["EARLY_SUPPORTER"]
id: "ACTIVE_DEVELOPER",
value: UserFlags["ACTIVE_DEVELOPER"],
name: "Active Developer",
key: BadgeKeys["ACTIVE_DEVELOPER"]
}, {
id: "EARLY_VERIFIED_DEVELOPER",
id: "VERIFIED_DEVELOPER",
value: UserFlags["VERIFIED_DEVELOPER"],
name: "Early Verified Bot Developer",
key: BadgeKeys["EARLY_VERIFIED_DEVELOPER"]
key: BadgeKeys["VERIFIED_DEVELOPER"]
}, {
id: "CERTIFIED_MODERATOR",
value: UserFlags["CERTIFIED_MODERATOR"],
name: "Discord Certified Moderator",
key: BadgeKeys["CERTIFIED_MODERATOR"]
id: "PREMIUM_EARLY_SUPPORTER",
value: UserFlags["PREMIUM_EARLY_SUPPORTER"],
name: "Early Nitro Supporter",
key: BadgeKeys["PREMIUM_EARLY_SUPPORTER"]
}, {
id: "PREMIUM",
value: 0,
Expand Down Expand Up @@ -810,4 +810,4 @@ module.exports = window.hasOwnProperty("ZeresPluginLibrary") ?
start() {}
stop() {}
};
/*@end@*/
/*@end@*/

4 comments on commit 683107e

@Soulivan71
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey I have this error on load :
TypeError: Cannot destructure property 'BadgeKeys' of 'external_PluginApi_namespaceObject.WebpackModules.getByProps(...)' as it is undefined.
at eval (betterdiscord://plugins/AssignBadges.plugin.js:338:5)
at eval (betterdiscord://plugins/AssignBadges.plugin.js:776:5)
at buildPlugin (betterdiscord://plugins/AssignBadges.plugin.js:778:4)
at eval (betterdiscord://plugins/AssignBadges.plugin.js:783:2)
at PluginManager.requireAddon (betterdiscord/renderer.js:6095:7)
at PluginManager.loadAddon (betterdiscord/renderer.js:1753:20)
at PluginManager.loadAddon (betterdiscord/renderer.js:6011:25)
at PluginManager.reloadAddon (betterdiscord/renderer.js:1801:17)
at AsyncFunction. (betterdiscord/renderer.js:1647:41)
Could u help me ?

@Soulivan71
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@untuned
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@untuned

This isn't my fault, make an issue.

@Soulivan71
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its already an issue ''pl could not be complied''

Please sign in to comment.