Reworked message format, added support for audio messages, made Message class #10
@ -87,7 +87,8 @@ class Client extends EventEmitter {
|
||||
}
|
||||
|
||||
sendMessage(message) {
|
||||
console.log(message.prototype instanceof Message);
|
||||
console.log(message);
|
||||
console.log(Message.isPrototypeOf(message));
|
||||
|
||||
console.log('Bot name:', this.botName);
|
||||
const data = message.toJsonString();
|
||||
|
Loading…
Reference in New Issue
Block a user