added link to tweet in msg

This commit is contained in:
Akamaru 2015-06-10 14:30:08 +02:00
parent 6893208490
commit 768fa91867

View File

@ -38,7 +38,7 @@ function run(msg, matches)
return "Fehler: "..response_code return "Fehler: "..response_code
end end
local data = json:decode(response_body) local data = json:decode(response_body)
return "Tweet gesendet!" return "Tweet gesendet! Sieh ihn dir an: https://twitter.com/Mikubot_/status/"..data.id_str
end end
return { return {