Added channel toString

This commit is contained in:
hydrabolt
2015-09-12 16:07:48 +01:00
parent c904bdb3c3
commit 106addbb1a
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ var Channel = (function () {
}, {
key: "toString",
value: function toString() {
return "#" + this.name;
return "<#" + this.id + ">";
}
}, {
key: "client",

View File

@@ -34,7 +34,7 @@ class Channel {
}
toString(){
return "#" + this.name;
return "<#" + this.id + ">";
}
get isPrivate(){

View File

@@ -17,7 +17,7 @@ mybot.on("message", function (message) {
}
// we can go ahead :)
mybot.sendMessage(message.author, message.sender.username);
mybot.reply(message, message.channel);
});
mybot.on("ready", function () {