Skip to content

Commit

Permalink
fix: send ADM message in notify.js
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-al committed Aug 16, 2022
1 parent 299ce73 commit 4dd94b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4dd94b0

Please sign in to comment.