From 4dd94b01d98cc085c267dba544e55999a138d64a Mon Sep 17 00:00:00 2001 From: adamant-al Date: Tue, 16 Aug 2022 20:26:32 +0300 Subject: [PATCH] fix: send ADM message in notify.js --- helpers/notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/notify.js b/helpers/notify.js index 6bdc287..6d1401f 100644 --- a/helpers/notify.js +++ b/helpers/notify.js @@ -48,7 +48,7 @@ module.exports = (message, type, silent_mode = false) => { } if (adamant_notify && adamant_notify.length > 5 && adamant_notify.startsWith('U') && config.passPhrase && config.passPhrase.length > 30) { const mdMessage = makeBoldForMarkdown(message); - api.send(config.passPhrase, adamant_notify, `${type}| ${mdMessage}`, 'message'); + api.sendMessageWithLog(config.passPhrase, adamant_notify, `${type}| ${mdMessage}`); } } } catch (e) {