diff --git a/sample/notify.js b/sample/notify.js index 284d8d9b..59d38e86 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -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()); }