Skip to content

Commit

Permalink
Merge pull request #31 from Zastinian/beta
Browse files Browse the repository at this point in the history
Update to version 3.3.1
  • Loading branch information
Zastinian authored Nov 30, 2024
2 parents e4deee2 + 0893ebf commit b354dae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions hedystia.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b354dae

Please sign in to comment.