types: Swap message reaction and emoji identifier types

#8970 djs
This commit is contained in:
March 7th
2023-01-06 17:39:46 +07:00
parent 32faedc883
commit fe7e3b8fda
3 changed files with 9 additions and 10 deletions

View File

@@ -50,9 +50,9 @@ class BaseGuildEmojiManager extends CachedManager {
/**
* Data that can be resolved to give an emoji identifier. This can be:
* * The unicode representation of an emoji
* * The `<a:name:id>`, `<:name:id>`, `a:name:id` or `name:id` emoji identifier string of an emoji
* * An EmojiResolvable
* * The `<a:name:id>`, `<:name:id>`, `a:name:id` or `name:id` emoji identifier string of an emoji
* * The Unicode representation of an emoji
* @typedef {string|EmojiResolvable} EmojiIdentifierResolvable
*/

View File

@@ -32,6 +32,7 @@ class ReactionManager extends CachedManager {
* Data that can be resolved to a MessageReaction object. This can be:
* * A MessageReaction
* * A Snowflake
* * The Unicode representation of an emoji
* @typedef {MessageReaction|Snowflake} MessageReactionResolvable
*/