Fixed a bunch of ClientUserGuildSettings stuff and its docs (#1758)

This commit is contained in:
SpaceEEC
2017-08-10 01:25:24 +02:00
committed by Crawl
parent 87cdad332c
commit fa5c4efa2b
7 changed files with 38 additions and 25 deletions

View File

@@ -365,10 +365,11 @@ class GuildChannel extends Channel {
}
/**
* Whether the channel is muted
* <warn>This is only available when using a user account.</warn>
* @type {boolean}
*/
* Whether the channel is muted
* <warn>This is only available when using a user account.</warn>
* @type {?boolean}
* @readonly
*/
get muted() {
if (this.client.user.bot) return null;
try {
@@ -382,7 +383,8 @@ class GuildChannel extends Channel {
* The type of message that should notify you
* one of `EVERYTHING`, `MENTIONS`, `NOTHING`, `INHERIT`
* <warn>This is only available when using a user account.</warn>
* @type {string}
* @type {?string}
* @readonly
*/
get messageNotifications() {
if (this.client.user.bot) return null;