async def ctfstatus(ctx): if await isRegistered(ctx) == False: return if await inPublicChannel( ctx, msg= f"Hey, <@{ctx.author.id}>, don't view ctf status info in public channels..." ): return data = [(k, SETTINGS[k]) for k in SETTINGS.iterkeys() if k[0] != '_' ] # filter out the private settings; see settings.py config object data.insert(0, ['Setting', 'Value']) table = GithubFlavoredMarkdownTable(data) await ctx.send(f'CTF Status ```{table.table}```')