mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
serverchannel.toString() now returns mentionable
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user