from meta import LionBot # Raw checks, return True/False depending on whether they pass async def sys_admin(bot: LionBot, userid: int): """ Checks whether the context author is listed in the configuration file as a bot admin. """ admins = bot.config.bot.getintlist('admins') return userid in admins