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!
continue
channels.append(channel)
out["channels"]=channels
#print([x.text for x in d.findall("./channellist/channel/channeltopic/topictext")])