diff --git a/otouto/plugins/gps.lua b/otouto/plugins/gps.lua index 91318fe..79d4379 100644 --- a/otouto/plugins/gps.lua +++ b/otouto/plugins/gps.lua @@ -8,14 +8,18 @@ function gps:init(config) "google.de/maps/@([^,]*)[,%s]([^,]*)", "google.com/maps/@([^,]*)[,%s]([^,]*)", "google.de/maps/place/@([^,]*)[,%s]([^,]*)", - "google.com/maps/place/@([^,]*)[,%s]([^,]*)" + "google.com/maps/place/@([^,]*)[,%s]([^,]*)", + "google.de/maps/place/.+/@([^,]*)[,%s]([^,]*)", + "google.com/maps/place/.+/@([^,]*)[,%s]([^,]*)" } gps.inline_triggers = { "^gps ([^,]*)[,%s]([^,]*)$", "google.de/maps/@([^,]*)[,%s]([^,]*)", "google.com/maps/@([^,]*)[,%s]([^,]*)", "google.de/maps/place/@([^,]*)[,%s]([^,]*)", - "google.com/maps/place/@([^,]*)[,%s]([^,]*)" + "google.com/maps/place/@([^,]*)[,%s]([^,]*)", + "google.de/maps/place/.+/@([^,]*)[,%s]([^,]*)", + "google.com/maps/place/.+/@([^,]*)[,%s]([^,]*)" } gps.doc = [[* ]]..config.cmd_pat..[[gps* __,__: Sendet Karte mit diesen Koordinaten]]