forked from an/flokati
Link weather module, changed shortcuts to "!weather" and "!wetter"
This commit is contained in:
parent
cde6e49baa
commit
69e8ef85b1
4 changed files with 13 additions and 5 deletions
|
@ -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>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue