We shouldn't remove more than one # at the start of a message
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Miles 2020-06-23 15:21:37 -04:00
parent 38d9604251
commit 4874785b6e
1 changed files with 2 additions and 3 deletions

View File

@ -41,9 +41,8 @@ for schannel in schannels:
):
continue
channel["webchatlink"] = "https://web.tilde.chat/?join=" + channel["name"].lstrip(
"#"
)
channel["webchatlink"] = "https://web.tilde.chat/?join=" + channel["name"][1:]
channels.append(channel)
channels.sort(key=lambda x: x["name"].lower())