mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Added isPrivate to channels
This commit is contained in:
parent
f78c1b8a2f
commit
aa1db24030
2 changed files with 8 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ class PMChannel {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
get isPrivate(){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PMChannel;
|
||||
|
|
@ -36,6 +36,10 @@ class Channel {
|
|||
toString(){
|
||||
return "#" + this.name;
|
||||
}
|
||||
|
||||
get isPrivate(){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Channel;
|
||||
Loading…
Reference in a new issue