mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
Add template function to normalize username
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f18e9c1612
commit
5fc593e08b
1 changed files with 2 additions and 0 deletions
|
@ -64,4 +64,6 @@ func init() {
|
|||
|
||||
return game, err
|
||||
}
|
||||
|
||||
messageFunctions["fixUsername"] = func(username string) string { return strings.TrimLeft(username, "@") }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue