Skip to content

Commit

Permalink
feat: Ignore if it is the owner
Browse files Browse the repository at this point in the history
  • Loading branch information
Zastinian committed Nov 30, 2024
1 parent 53a4bf2 commit ec1b20b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hedystia.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ module.exports = async (hedystia, m) => {
}
const privateStatus = globalThis.db.config.select("private", { id: "private" })[0].value;
if (!privateStatus) {
if (!isGroup) {
return;
if (!isBotOwner) {
if (!isGroup) {
return;
}
}
}
if (!cont) {
Expand Down

0 comments on commit ec1b20b

Please sign in to comment.