mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Added channel.topic
This commit is contained in:
@@ -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...
|
||||||
|
|||||||
Reference in New Issue
Block a user