Skip to content

Commit 8495f70

Browse files
committed
chore: fill optional argument for unreact
1 parent f568c44 commit 8495f70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/classes/Message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export class Message {
395395
* @param emoji Unicode or emoji ID
396396
* @param deleteAll Remove all reactions
397397
*/
398-
async unreact(emoji: string, deleteAll: boolean): Promise<void> {
398+
async unreact(emoji: string, deleteAll = false): Promise<void> {
399399
return await this.#collection.client.api.delete(
400400
`/channels/${this.channelId as ""}/messages/${this.id as ""}/reactions/${
401401
emoji as ""

0 commit comments

Comments
 (0)