async def addDev_user(message, from_id): try: if getDevUser(from_id): return await message.reply("User already added as Dev.") addDevUser(from_id) utilities.devs.append(from_id) return await message.reply("❏︙تم رفع مطور") except Exception as e: utilities.prRed(str(type(e)) + " Error : " + str(e)) return await message.reply(str(e))
async def remDev_user(message, from_id): try: if not getDevUser(from_id): return await message.reply("User already not dev.") remDevUser(from_id) utilities.devs.remove(from_id) return await message.reply("❏︙تم تنزيل مطور") except Exception as e: utilities.prRed(str(type(e)) + " Error : " + str(e)) return await message.reply(str(e))