mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +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