mirror of
https://github.com/Nick80835/microbot
synced 2025-08-30 14:08:31 +00:00
fix a typo
This commit is contained in:
@@ -105,7 +105,7 @@ async def nsfw_toggle(event):
|
||||
|
||||
if event.args == "on":
|
||||
ldr.settings.remove_from_list("nsfw_blacklist", event.chat.id)
|
||||
await event.reply("NSFW commands disabled for this chat!")
|
||||
await event.reply("NSFW commands enabled for this chat!")
|
||||
elif event.args == "off":
|
||||
ldr.settings.add_to_list("nsfw_blacklist", event.chat.id)
|
||||
await event.reply("NSFW commands enabled for this chat!")
|
||||
await event.reply("NSFW commands disabled for this chat!")
|
||||
|
Reference in New Issue
Block a user