Upload case.js
Browse files
case.js
CHANGED
@@ -3041,17 +3041,17 @@ case 'play':
|
|
3041 |
case 'nsfw': {
|
3042 |
if (!isGroup) return reply(mess.only.group)
|
3043 |
if (!isGroupAdmins && !isOwner) return reply(mess.only.admin)
|
3044 |
-
if (args.length < 1) return reply('
|
3045 |
if (args[0] === 'on') {
|
3046 |
db.data.chats[from].nsfw = true
|
3047 |
-
reply(
|
3048 |
let warning = fontx(`
|
3049 |
*γ β οΈ πππππππ β οΈ γ*\nThe NSFW (Not Safe For Work) feature has been activated in this group. As a result, explicit content may be accessible through the bot. Please proceed with caution and ensure compliance with community guidelines.
|
3050 |
`)
|
3051 |
m.reply(warning)
|
3052 |
} else if (args[0] === 'off') {
|
3053 |
db.data.chats[from].nsfw = false
|
3054 |
-
reply(
|
3055 |
}
|
3056 |
}
|
3057 |
break
|
|
|
3041 |
case 'nsfw': {
|
3042 |
if (!isGroup) return reply(mess.only.group)
|
3043 |
if (!isGroupAdmins && !isOwner) return reply(mess.only.admin)
|
3044 |
+
if (args.length < 1) return reply('Enable or disable? Use: α΄Ι΄/α΄κ°κ°')
|
3045 |
if (args[0] === 'on') {
|
3046 |
db.data.chats[from].nsfw = true
|
3047 |
+
reply(`${command} has been enabled in this group`)
|
3048 |
let warning = fontx(`
|
3049 |
*γ β οΈ πππππππ β οΈ γ*\nThe NSFW (Not Safe For Work) feature has been activated in this group. As a result, explicit content may be accessible through the bot. Please proceed with caution and ensure compliance with community guidelines.
|
3050 |
`)
|
3051 |
m.reply(warning)
|
3052 |
} else if (args[0] === 'off') {
|
3053 |
db.data.chats[from].nsfw = false
|
3054 |
+
reply(`${command} has been disabled in this group`)
|
3055 |
}
|
3056 |
}
|
3057 |
break
|