diff --git a/hedystia.js b/hedystia.js index d735028..c2d896a 100644 --- a/hedystia.js +++ b/hedystia.js @@ -88,10 +88,12 @@ module.exports = async (hedystia, m) => { cont = status; } } - const privateStatus = globalThis.db.config.select("private", { id: "private" })[0].value; - if (!privateStatus) { - if (!isGroup) { - return; + if (!isBotOwner) { + const privateStatus = globalThis.db.config.select("private", { id: "private" })[0].value; + if (!privateStatus) { + if (!isGroup) { + return; + } } } if (!cont) { diff --git a/package.json b/package.json index 0836e78..5c0e954 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedystiamd", - "version": "3.3.0", + "version": "3.3.1", "description": "A whatsapp bot that can be used to play music", "main": "index.js", "type": "commonjs",