Skip to content

Commit

Permalink
improve TwitchPrivateMessage doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
d-fischer committed Nov 8, 2021
1 parent b58a7d1 commit 975f90a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/chat/src/commands/TwitchPrivateMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ export class TwitchPrivateMessage extends MessageTypes.Commands.PrivateMessage {
}

/**
* Whether the message is a redemption.
* Whether the message represents a redemption of a custom channel points reward.
*/
get isRedemption(): boolean {
return this._tags.has('custom-reward-id');
}

/**
* Whether the message is a highlighted message.
* Whether the message is highlighted by using channel points.
*/
get isHighlight(): boolean {
return this._tags.has('highlighted-message');
Expand Down

0 comments on commit 975f90a

Please sign in to comment.