There was an error while loading. Please reload this page.
unreact
1 parent f568c44 commit 8495f70Copy full SHA for 8495f70
1 file changed
src/classes/Message.ts
@@ -395,7 +395,7 @@ export class Message {
395
* @param emoji Unicode or emoji ID
396
* @param deleteAll Remove all reactions
397
*/
398
- async unreact(emoji: string, deleteAll: boolean): Promise<void> {
+ async unreact(emoji: string, deleteAll = false): Promise<void> {
399
return await this.#collection.client.api.delete(
400
`/channels/${this.channelId as ""}/messages/${this.id as ""}/reactions/${
401
emoji as ""
0 commit comments