Hm. Its pretty strange. Thats why i dont really like JavaScript
This commit is contained in:
parent
457bf01bc3
commit
8262bd4eb7
@ -88,7 +88,7 @@ class Client extends EventEmitter {
|
|||||||
|
|
||||||
sendMessage(message) {
|
sendMessage(message) {
|
||||||
console.log(message);
|
console.log(message);
|
||||||
console.log(Message.isPrototypeOf(message));
|
console.log(Object.prototype.isPrototypeOf.call(Message.prototype, message.prototype));
|
||||||
|
|
||||||
console.log('Bot name:', this.botName);
|
console.log('Bot name:', this.botName);
|
||||||
const data = message.toJsonString();
|
const data = message.toJsonString();
|
||||||
|
Loading…
Reference in New Issue
Block a user