fix
This commit is contained in:
parent
8463e59d4f
commit
2ddb6bf5a5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export class MessageReactionsManager extends BaseManager<
|
||||||
/** Remove a specific Emoji from Reactions */
|
/** Remove a specific Emoji from Reactions */
|
||||||
async removeEmoji(emoji: Emoji | string): Promise<MessageReactionsManager> {
|
async removeEmoji(emoji: Emoji | string): Promise<MessageReactionsManager> {
|
||||||
const val = encodeURIComponent(
|
const val = encodeURIComponent(
|
||||||
typeof emoji === 'object' ? emoji.id ?? emoji.name : emoji
|
(typeof emoji === 'object' ? emoji.id ?? emoji.name : emoji) as string
|
||||||
)
|
)
|
||||||
await this.client.rest.delete(
|
await this.client.rest.delete(
|
||||||
MESSAGE_REACTION(this.message.channel.id, this.message.id, val)
|
MESSAGE_REACTION(this.message.channel.id, this.message.id, val)
|
||||||
|
|
Loading…
Reference in a new issue