From 0fdcf827d079b70c41fb651d552895c1b9e7689a Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Thu, 19 Nov 2015 16:18:02 +0000 Subject: [PATCH] serverchannel.toString() now returns mentionable --- lib/Structures/ServerChannel.js | 2 +- src/Structures/ServerChannel.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Structures/ServerChannel.js b/lib/Structures/ServerChannel.js index 29e626f88..d16f4bc82 100644 --- a/lib/Structures/ServerChannel.js +++ b/lib/Structures/ServerChannel.js @@ -100,7 +100,7 @@ var ServerChannel = (function (_Channel) { }; ServerChannel.prototype.toString = function toString() { - return this.name; + return "<#" + this.id + ">"; }; ServerChannel.prototype.setName = function setName() { diff --git a/src/Structures/ServerChannel.js b/src/Structures/ServerChannel.js index 4370ef18b..3a51cd9cc 100644 --- a/src/Structures/ServerChannel.js +++ b/src/Structures/ServerChannel.js @@ -62,7 +62,7 @@ class ServerChannel extends Channel{ } toString(){ - return this.name; + return `<#${this.id}>`; } setName(){