from ubot import *
__MODULE__ = "Join"
__HELP__ = """
Help To Join
• Command: {0}kickme
• Explanation: To exit the group.
• Command: {0}join [username]
• Explanation: To join a group with a username.
• Command: {0}leaveallgc
• Explanation: To exit all groups of your account.
• Command: {0}leaveallch
• Explanation: To exit all channels of your account.
• Command: {0}leave [username]
• Explanation: To exit a group with a username.
"""
@PY.UBOT("kickme|leave", sudo=True)
async def _(client, message):
await leave(client, message)
@PY.UBOT("join", sudo=True)
async def _(client, message):
await join(client, message)
@PY.UBOT("leaveallgc", sudo=True)
async def _(client, message):
await kickmeall(client, message)
@PY.UBOT("leaveallch", sudo=True)
async def _(client, message):
await kickmeallch(client, message)