feat: helper Channel#muted to expose the muted option

This commit is contained in:
izzy
2025-09-12 15:53:59 +01:00
parent 482a3d98d0
commit 219118b287
+8 -1
View File
@@ -285,7 +285,7 @@ export class Channel {
}
/**
* Get whether this channel is unread.
* Whether this channel is unread
*/
get unread(): boolean {
if (
@@ -303,6 +303,13 @@ export class Channel {
);
}
/**
* Whether this channel is muted
*/
get muted(): boolean {
return this.#collection.client.options.channelIsMuted(this);
}
/**
* Get mentions in this channel for user.
*/