Example #1
0
def listvoiced(bot, input):
    outos=[]
    for nicks in input.conn.conf["voiced"]:
        if nicks=="":
            empty = removeperm(nicks, bot, "voice")
            print("found empty entries in voiced. removed them.")
        if not nicks=="":
            outos.append(munge.muninput(input, bot, nicks))
    outoss=', '.join(outos)
    return("The voiced users of this bot are: \x02%s" % (outoss))
Example #2
0
def listsuperadmins(bot, input):
    outos=[]
    for nicks in input.conn.conf["superadmins"]:
        if nicks=="":
            empty = removeperm(nicks, bot, "superadmin")
            print("found empty entries in superadmins. removed them.")
        if not nicks=="":
            outos.append(munge.muninput(input, bot, nicks))
    outoss=', '.join(outos)
    return("The Super Admins of this bot are: \x02%s" % (outoss))
Example #3
0
def listowner(bot, input):
    outos=munge.muninput(input, bot, input.conn.conf["owner"])
    return("The Owner of this bot is: \x02%s" % (outos))