Link weather module, changed shortcuts to "!weather" and "!wetter"

This commit is contained in:
Andreas Neue 2016-02-06 23:30:34 +01:00
parent cde6e49baa
commit 69e8ef85b1
4 changed files with 13 additions and 5 deletions

View file

@ -80,7 +80,7 @@ func HandleMessage(m *irc.Message) {
return
}
switch tok[0] {
case "!w":
case "!weather", "!wetter":
switch len(tok) {
case 1:
sayCh <- fmt.Sprintf("*\n%s", weatherPrefix+"Usage: !w <zip/city/state/country>")