How to use the xenon.utils.types.BooleanArgs function in xenon

To help you get started, we’ve selected a few xenon examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Magic-Bots / xenon / xenon / utils / backups.py View on Github external
def __init__(self, bot, session, data):
        self.session = session
        self.data = data
        self.bot = bot
        self.id_translator = {}
        self.options = types.BooleanArgs([])
        self.semaphore = asyncio.Semaphore(2)