mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
serverchannel.toString() now returns mentionable
This commit is contained in:
parent
6c08c3766f
commit
0fdcf827d0
2 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ var ServerChannel = (function (_Channel) {
|
||||||
};
|
};
|
||||||
|
|
||||||
ServerChannel.prototype.toString = function toString() {
|
ServerChannel.prototype.toString = function toString() {
|
||||||
return this.name;
|
return "<#" + this.id + ">";
|
||||||
};
|
};
|
||||||
|
|
||||||
ServerChannel.prototype.setName = function setName() {
|
ServerChannel.prototype.setName = function setName() {
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ class ServerChannel extends Channel{
|
||||||
}
|
}
|
||||||
|
|
||||||
toString(){
|
toString(){
|
||||||
return this.name;
|
return `<#${this.id}>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
setName(){
|
setName(){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue