Merge branch 'master' of github.com:yogthos/mastodon-bot

This commit is contained in:
Dmitri Sotnikov 2018-08-26 00:59:59 -04:00
commit 33de858ecf

View file

@ -96,7 +96,7 @@
(post-status text)))) (post-status text))))
(defn parse-tweet [{created-at :created_at (defn parse-tweet [{created-at :created_at
text :text text :full_text
{:keys [media]} :extended_entities {:keys [media]} :extended_entities
{:keys [screen_name]} :user :as tweet}] {:keys [screen_name]} :user :as tweet}]
{:created-at (js/Date. created-at) {:created-at (js/Date. created-at)
@ -166,6 +166,7 @@
(.get client (.get client
"statuses/user_timeline" "statuses/user_timeline"
#js {:screen_name account #js {:screen_name account
:tweet_mode "extended"
:include_rts (boolean include-replies?) :include_rts (boolean include-replies?)
:exclude_replies (boolean include-rts?)} :exclude_replies (boolean include-rts?)}
(post-tweets last-post-time))))) (post-tweets last-post-time)))))