Because ben HAD to move the sekrit channel, change channel removed from stats to #secret-sudoers :P

This commit is contained in:
Robert Miles 2018-07-13 16:11:51 -04:00
parent e6a792a2aa
commit b6cfca84b1
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ channels = []
for schannel in schannels:
channel = dict(name=schannel.findall("channelname")[0].text,usercount=int(schannel.findall("usercount")[0].text))
channel["topic"] = schannel.findall("./channeltopic/topictext")[0].text if schannel.findall("./channeltopic/topictext")[0].text is not None else "No topic set"
if channel["name"]=="#sudoers": # no stat output for #sudoers! it's a sekrit club of the ~team sysadmins!
if channel["name"]=="#secret-sudoers": # no stat output for #secret-sudoers! it's a sekrit club of the ~team sysadmins!
continue
channels.append(channel)
channels.sort(key=lambda x: x["name"].lower())