Skip to content

Commit

Permalink
[ Jessi-md 4.8.2 ⏱️ ]
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteshadowofficial authored Jan 21, 2024
1 parent 56dc893 commit 38b5ad5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plugins/enable.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,15 @@ let handler = async (m, { conn, usedPrefix, command, args, isOwner, isAdmin, isR
}
chat.autoSticker = isEnable
break
case 'antispam':
case 'autobio':
isAll = true
if (!isROwner) {
global.dfail('rowner', m, conn)
throw false
}
bot.autoBio = isEnable
break
case 'antispam':
if (m.isGroup) {
if (!(isAdmin || isOwner)) {
global.dfail('admin', m, conn)
Expand Down

0 comments on commit 38b5ad5

Please sign in to comment.