diff --git a/plugins/tweet.lua b/plugins/tweet.lua index 3bb05c3..1952ff8 100644 --- a/plugins/tweet.lua +++ b/plugins/tweet.lua @@ -231,10 +231,10 @@ end return { description = "Random tweew from user", usage = { - "!tweet id [id]: Get a random tweet from the user with that ID", - "!tweet id [id] last: Get a random tweet from the user with that ID", - "!tweet name [name]: Get a random tweet from the user with that name", - "!tweet name [name] last: Get a random tweet from the user with that name" + "/tweet id [id]: Get a random tweet from the user with that ID", + "/tweet id [id] last: Get a random tweet from the user with that ID", + "/tweet name [name]: Get a random tweet from the user with that name", + "/tweet name [name] last: Get a random tweet from the user with that name" }, patterns = { "^/tweet (id) ([%w_%.%-]+)$", diff --git a/plugins/twitter_send.lua b/plugins/twitter_send.lua index 401908e..26f8a8f 100644 --- a/plugins/twitter_send.lua +++ b/plugins/twitter_send.lua @@ -38,7 +38,7 @@ function run(msg, matches) return "Fehler: "..response_code end local data = json:decode(response_body) - return "Tweet gesendet!"..data.id_str + return "Tweet gesendet!" end return { @@ -46,7 +46,6 @@ return { usage = "", patterns = {"^/tw (.+)"}, run = run, - privileged = true } end \ No newline at end of file