Hm. Its pretty strange. Thats why i dont really like JavaScript

This commit is contained in:
MrMasrozYTLIVE 2024-06-14 17:04:08 +03:00
parent 457bf01bc3
commit 8262bd4eb7

View File

@ -88,7 +88,7 @@ class Client extends EventEmitter {
sendMessage(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);
const data = message.toJsonString();