@discord-user-card/profile-effects
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

@Discord-User-Card/Profile-Effects

All the profile effects supported by Discord (User Card)

Usage

import { type ProfileEffect, findProfileEffect, profileEffects } from "@discord-user-card/profile-effects";

// Get all profile effects
console.log(profileEffects); // ProfileEffect[]

// Find an emoji by name
console.log(findProfileEffect("Sakura Dreams")); // ProfileEffect | undefined

// Find an emoji by id
console.log(findProfileEffect("1174460912699191336")); // ProfileEffect | undefined

// Find an emoji by SKU
console.log(findProfileEffect("1139323093991575696")); // ProfileEffect | undefined

Contributing

Discord does not provide a public API for profile effects. The list of profile effects is manually maintained. If a profile effect is missing or incorrect, please open an issue or a pull request. You can find the list in your network tab when viewing an user's (that has effects) profile on Discord.

Package Sidebar

Install

npm i @discord-user-card/profile-effects

Weekly Downloads

0

Version

0.0.9

License

none

Unpacked Size

192 kB

Total Files

15

Last publish

Collaborators

  • bas950