Removes a badge from an existing member.
Badge is identified by its stringified ObjectID. Member is be identified by their Discord ID.
ObjectID
const badgeId: string = "567678d96778a6876cc78";const memberId: string = "2938274356793";const { acknowledged, deletedCount,} = await sdk.revokeBadgeFromMemberById({ badgeId, memberId });
ID of the badge to remove from selected member.
ID of member which is supposed to have a badge revoked.
Generated using TypeDoc
Removes a badge from an existing member.
Badge is identified by its stringified
ObjectID
. Member is be identified by their Discord ID.Usage