mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Added channel.topic
This commit is contained in:
parent
5819fb4daf
commit
5559809aff
2 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ var Channel = (function () {
|
||||||
this.server = server;
|
this.server = server;
|
||||||
this.name = data.name;
|
this.name = data.name;
|
||||||
this.type = data.type;
|
this.type = data.type;
|
||||||
|
this.topic = data.topic;
|
||||||
this.id = data.id;
|
this.id = data.id;
|
||||||
this.messages = [];
|
this.messages = [];
|
||||||
//this.isPrivate = isPrivate; //not sure about the implementation of this...
|
//this.isPrivate = isPrivate; //not sure about the implementation of this...
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ class Channel {
|
||||||
this.server = server;
|
this.server = server;
|
||||||
this.name = data.name;
|
this.name = data.name;
|
||||||
this.type = data.type;
|
this.type = data.type;
|
||||||
|
this.topic = data.topic;
|
||||||
this.id = data.id;
|
this.id = data.id;
|
||||||
this.messages = [];
|
this.messages = [];
|
||||||
//this.isPrivate = isPrivate; //not sure about the implementation of this...
|
//this.isPrivate = isPrivate; //not sure about the implementation of this...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue