mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 15:11:32 +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() {
|
||||
return this.name;
|
||||
return "<#" + this.id + ">";
|
||||
};
|
||||
|
||||
ServerChannel.prototype.setName = function setName() {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ class ServerChannel extends Channel{
|
|||
}
|
||||
|
||||
toString(){
|
||||
return this.name;
|
||||
return `<#${this.id}>`;
|
||||
}
|
||||
|
||||
setName(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue