Skip to content

Commit

Permalink
[ Jessi-md 4.8.0 ⏱️ ]
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteshadowofficial authored Oct 27, 2023
1 parent 19c703e commit 561061d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugins/enable.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ let handler = async (m, { conn, usedPrefix, command, args, isOwner, isAdmin, isR
}
chat.delete = isEnable
break
case 'nsfw':
case '+18':
if (m.isGroup) {
if (!(isAdmin || isOwner)) {
global.dfail('admin', m, conn)
throw false
}
}
chat.nsfw = isEnable
break
case 'antidelete':
if (m.isGroup) {
if (!(isAdmin || isOwner)) {
Expand Down

0 comments on commit 561061d

Please sign in to comment.