Merge Updtream
This commit is contained in:
parent
6a908f8f9f
commit
5ceefba77b
@ -12,26 +12,26 @@ function twitter_send:init(config)
|
|||||||
end
|
end
|
||||||
|
|
||||||
twitter_send.triggers = {
|
twitter_send.triggers = {
|
||||||
"^/tw (auth) (%d+)$",
|
"^/tweetit (auth) (%d+)$",
|
||||||
"^/tw (unauth)$",
|
"^/tweetit (unauth)$",
|
||||||
"^/tw (verify)$",
|
"^/tweetit (verify)$",
|
||||||
"^/tw (.+)$",
|
"^/tweetit (.+)$",
|
||||||
"^/(twwhitelist add) (%d+)$",
|
"^/(twwhitelist add) (%d+)$",
|
||||||
"^/(twwhitelist del) (%d+)$",
|
"^/(twwhitelist del) (%d+)$",
|
||||||
"^/(twwhitelist add)$",
|
"^/(twwhitelist add)$",
|
||||||
"^/(twwhitelist del)$"
|
"^/(twwhitelist del)$"
|
||||||
}
|
}
|
||||||
twitter_send.doc = [[*
|
twitter_send.doc = [[*
|
||||||
]]..config.cmd_pat..[[tw* _<Text>_: Sendet einen Tweet an den Account, der im Chat angemeldet ist
|
]]..config.cmd_pat..[[tweetit* _<Text>_: Sendet einen Tweet an den Account, der im Chat angemeldet ist
|
||||||
*]]..config.cmd_pat..[[tw* _verify_: Gibt den angemeldeten User aus, inklusive Profilbild
|
*]]..config.cmd_pat..[[tweetit* _verify_: Gibt den angemeldeten User aus, inklusive Profilbild
|
||||||
*]]..config.cmd_pat..[[twwitelist* _add_ _<user>_: Schaltet User für die Tweet-Funktion frei
|
*]]..config.cmd_pat..[[twwitelist* _add_ _<user>_: Schaltet User für die Tweet-Funktion frei
|
||||||
*]]..config.cmd_pat..[[twwitelist* _del_ _<user>_: Entfernt User von der Tweet-Whitelist
|
*]]..config.cmd_pat..[[twwitelist* _del_ _<user>_: Entfernt User von der Tweet-Whitelist
|
||||||
*]]..config.cmd_pat..[[tw* _auth_ _<PIN>_: Meldet mit dieser PIN an (Setup)
|
*]]..config.cmd_pat..[[tweetit* _auth_ _<PIN>_: Meldet mit dieser PIN an (Setup)
|
||||||
*]]..config.cmd_pat..[[tw* _unauth_: Meldet Twitter-Account ab
|
*]]..config.cmd_pat..[[tweetit* _unauth_: Meldet Twitter-Account ab
|
||||||
]]
|
]]
|
||||||
end
|
end
|
||||||
|
|
||||||
twitter_send.command = 'tw <Tweet>'
|
twitter_send.command = 'tweetit <Tweet>'
|
||||||
|
|
||||||
local consumer_key = cred_data.tw_consumer_key
|
local consumer_key = cred_data.tw_consumer_key
|
||||||
local consumer_secret = cred_data.tw_consumer_secret
|
local consumer_secret = cred_data.tw_consumer_secret
|
||||||
|
Reference in New Issue
Block a user