Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
change votekick reply to bcast
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsupermanhd committed Oct 1, 2024
1 parent 0c2722b commit 232dd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messageProcessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func messageHandlerProcessChat(inst *instance, msg string) bool {
instWriteFmt(inst, `chat direct %s %s`, msgb64pubkey, "All Autohoster's games are available at the website: https://wz2100-autohost.net/games (with detailed dtatistics, charts and replay)")
}
if msgtype == "WZCHATCMD" && (strings.HasPrefix(string(msgcontent), "/votekick")) {
instWriteFmt(inst, `chat direct %s %s`, msgb64pubkey, "If you would like to become a part of Autohoster moderation team, feel free to contact us: https://wz2100-autohost.net/about#contact")
instWriteFmt(inst, `chat bcast %s`, "If you would like to become a part of Autohoster moderation team, feel free to contact us: https://wz2100-autohost.net/about#contact")
}
return false
}
Expand Down

0 comments on commit 232dd88

Please sign in to comment.