mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 09:09:45 +02:00
Link weather module, changed shortcuts to "!weather" and "!wetter"
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user