serverchannel.toString() now returns mentionable

This commit is contained in:
hydrabolt
2015-11-19 16:18:02 +00:00
parent 6c08c3766f
commit 0fdcf827d0
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ var ServerChannel = (function (_Channel) {
};
ServerChannel.prototype.toString = function toString() {
return this.name;
return "<#" + this.id + ">";
};
ServerChannel.prototype.setName = function setName() {

View File

@@ -62,7 +62,7 @@ class ServerChannel extends Channel{
}
toString(){
return this.name;
return `<#${this.id}>`;
}
setName(){