mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +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() {
|
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(){
|
||||||
|
|||||||
Reference in New Issue
Block a user