From 2d0f97bc8f93eda28a1684998363379f79e3f8e6 Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Fri, 14 Jun 2024 19:50:10 +0300 Subject: [PATCH] Oops i made async constructor --- chatBot/includes/IconMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatBot/includes/IconMessage.js b/chatBot/includes/IconMessage.js index 6ae10b4..a0c5cc3 100644 --- a/chatBot/includes/IconMessage.js +++ b/chatBot/includes/IconMessage.js @@ -1,7 +1,7 @@ import Message from "./Message.js"; class IconMessage extends Message { - async constructor(peerName, avatarBuffer, topic, timestamp) { + constructor(peerName, avatarBuffer, topic, timestamp) { super("icon", peerName, avatarBuffer, topic, timestamp); }