About: pyRiZoeLX have many useful functions, that you can use in your repos/repostory. It'll make you code/bot smooth and fast!
pip3 install pyRiZoeLX
from RiZoeLX.functions import <functions name>
from RiZoeLX.functions import ban_user
from pyrogram import Client, filters
from pyrogram.types import Message
@Client.on_message(filters.command("ban"))
async def ban_(client, message):
await ban_user(client, message)