stealEmoji
How cool is stealing an emoji from another server ? Feel the power with this function
DEPRECATED
This function is deprecated !
stealEmoji()
function is deprecated and removed forever ! Please use other package or use our source code from github.
Implementation
simplydjs.stealEmoji(interaction, {
// options (Optional)
})
Output
Types
simplydjs.stealEmoji(
msgOrInt: ExtendedMessage | ExtendedInteraction,
options: stealOptions
): Promise<void>
- msgOrInt:
ExtendedMessage
|ExtendedInteraction
- options:
stealOptions
Options
stealOptions
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
strict | boolean | ❌ | false | Enables strict mode in stealEmoji |
embed | CustomizableEmbed | ❌ | default embed | Pass a CustomizableEmbed Object to customize the embed |
emoji | string | ❌ | none | The emoji that is getting stealed |
name | string | ❌ | none | The name of the new emoji that is being created from old one |
export type stealOptions = {
embed?: CustomizableEmbed;
emoji?: string;
name?: string;
strict?: boolean;
};