Update sendNotify.js

This commit is contained in:
smallfawn 2023-07-11 15:27:01 +08:00 committed by GitHub
parent fd36f1a37d
commit c8c17beebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,6 @@ async function sendNotify(
function checkSmallfawnPush(variable) {
if (typeof variable === 'string') {
if (variable.includes('&') || variable.includes('#') || variable.includes('@')) {
console.log(variable.split(/[&#@]/))
return variable.split(/[&#@]/);
} else {
return [variable];