Time to do lots of debugging 😭
This commit is contained in:
parent
8262bd4eb7
commit
d50e0df6a1
@ -88,6 +88,8 @@ class Client extends EventEmitter {
|
|||||||
|
|
||||||
sendMessage(message) {
|
sendMessage(message) {
|
||||||
console.log(message);
|
console.log(message);
|
||||||
|
console.log(message.prototype);
|
||||||
|
console.log(Message.prototype);
|
||||||
console.log(Object.prototype.isPrototypeOf.call(Message.prototype, message.prototype));
|
console.log(Object.prototype.isPrototypeOf.call(Message.prototype, message.prototype));
|
||||||
|
|
||||||
console.log('Bot name:', this.botName);
|
console.log('Bot name:', this.botName);
|
||||||
|
Loading…
Reference in New Issue
Block a user