script, gui: Exclude bots from the in-GUI authors list

This commit is contained in:
Jakob Borg
2022-05-06 08:00:22 +02:00
parent f35fb974d0
commit 520ca4bcb0
2 changed files with 6 additions and 1 deletions

View File

@@ -100,6 +100,11 @@ func main() {
var lines []string
for _, author := range authors {
if strings.Contains(author.name, "[bot]") {
// Only humans are eligible, pending future legislation to the
// contrary.
continue
}
lines = append(lines, author.name)
}
replacement := strings.Join(lines, ", ")