Exemplo n.º 1
0
async def unmute_chat(e):
    if not e.text[0].isalpha() and e.text[0] not in ("/", "#", "@", "!"):
        try:
            from userbot.modules.sql_helper.keep_read_sql import unkread
        except:
            await e.edit('`Running on Non-SQL Mode!`')
        unkread(str(e.chat_id))
        await e.edit("```Unmuted this chat Successfully```")
Exemplo n.º 2
0
async def unmute_chat(unm_e):
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        return await unm_e.edit('`Running on Non-SQL Mode!`')
    unkread(str(unm_e.chat_id))
    await unm_e.edit("```Unmuted this chat Successfully```")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 3
0
async def unmute_chat(unm_e):
    """For .unmutechat command, unmute a muted chat."""
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        return await unm_e.edit("**Executando em modo não SQL!**")
    unkread(str(unm_e.chat_id))
    await unm_e.edit("**Chat desmutado com sucesso!**")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 4
0
async def unmute_chat(unm_e):
    """ For .unmutechat command, unmute a muted chat. """
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        return await unm_e.edit("**Running on Non-SQL Mode!**")
    unkread(str(unm_e.chat_id))
    await unm_e.edit("**Unmuted this chat successfully!**")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 5
0
async def unmute_chat(unm_e):
    """For .unmutechat command, unmute a muted chat."""
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        return await unm_e.edit("`Berjalan di mode Non-SQL!`")
    unkread(str(unm_e.chat_id))
    await unm_e.edit("`Berhasil mengaktifkan obrolan ini`")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 6
0
async def unmute_chat(unm_e):
    """ For .unmutechat command, unmute a muted chat. """
    if not unm_e.text[0].isalpha() and unm_e.text[0] not in ("/", "#", "@", "!"):
        try:
            from userbot.modules.sql_helper.keep_read_sql import unkread
        except AttributeError:
            await unm_e.edit('`Running on Non-SQL Mode!`')
            return
        unkread(str(unm_e.chat_id))
        await unm_e.edit("```Unmuted this chat Successfully```")
Exemplo n.º 7
0
async def unmute_chat(unm_e):
    """For .unmutechat command, unmute a muted chat."""
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        return await unm_e.edit("**Running on Non-SQL Mode!**")
    unkread(str(unm_e.chat_id))
    await unm_e.edit("**Berhasil Dibuka, Obrolan Tidak Lagi Dibisukan!**")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 8
0
async def unmute_chat(unm_e):
    """ .unmutechat komutu susturulmuş grubun sesini açar """
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        await unm_e.edit('`SQL dışı modda çalışıyor!`')
        return
    unkread(str(unm_e.chat_id))
    await unm_e.edit("```Sohbetin sesi açıldı```")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 9
0
async def unmute_chat(unm_e):
    """ For .unmutechat command, unmute a muted chat. """
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        await unm_e.edit('`Running on Non-SQL Mode!`')
        return
    unkread(str(unm_e.chat_id))
    await unm_e.edit("```Chat smutata correttamente!```")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 10
0
async def unmute_chat(unm_e):
    """ For .unmutechat command, unmute a muted chat. """
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        await unm_e.edit('`Running on Non-SQL Mode!`')
        return
    unkread(str(unm_e.chat_id))
    await unm_e.edit("```Notif Penting Nih, Nyalakan Notif Lah Kimak```")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 11
0
async def unmute_chat(unm_e):

    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        await unm_e.edit('`SQL rejimindən kənarda işləyir!`')
        return
    unkread(str(unm_e.chat_id))
    await unm_e.edit(LANG['UNMUTED'])
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 12
0
async def unmute_chat(unm_e):
    """ For .unmutechat command, unmute a muted chat. """
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        await unm_e.edit("`Executando em modo não-SQL!`")
        return
    unkread(str(unm_e.chat_id))
    await unm_e.edit("```Reativou este bate-papo com sucesso```")
    await sleep(2)
    await unm_e.delete()
Exemplo n.º 13
0
async def unmute_chat(unm_e):
    """ Untuk perintah .unmutechat, aktifkan obrolan yang dimute. """
    try:
        from userbot.modules.sql_helper.keep_read_sql import unkread
    except AttributeError:
        await unm_e.edit("`Berjalan di Mode Non-SQL!`")
        return
    unkread(str(unm_e.chat_id))
    await unm_e.edit("```Berhasil mengaktifkan obrolan ini```")
    await sleep(2)
    await unm_e.delete()