mirror of
https://github.com/whyour/qinglong.git
synced 2026-02-12 05:55:38 +08:00
Refactor JavaScript HITOKOTO check for consistency with Python
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
parent
d1a657010b
commit
13c35b7057
|
|
@ -1511,7 +1511,7 @@ async function sendNotify(text, desp, params = {}) {
|
|||
}
|
||||
}
|
||||
|
||||
if (push_config.HITOKOTO !== 'false' && push_config.HITOKOTO !== false) {
|
||||
if (![false, 'false'].includes(push_config.HITOKOTO)) {
|
||||
desp += '\n\n' + (await one());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user