Liking cljdoc? Tell your friends :D

teleward.processing


almost-nowclj

(almost-now time offset)

True if the given Unix time is around the current Unix timestamp.

True if the given Unix `time` is around the current Unix timestamp.
sourceraw docstring

looks-solution?clj

(looks-solution? text len-threshold)

True if a message might be (but not for sure) a solution for captcha (pretty short).

True if a message *might be* (but not for sure)
a solution for captcha (pretty short).
sourceraw docstring

process-pending-usersclj

(process-pending-users {:as context :keys [telegram state config]})

Cleanup: ban users who haven't solved the captcha in time. The date-joined attr tracks the date the user did join. Delete the captcha message, ban the user, drop the attributes.

Cleanup: ban users who haven't solved the captcha in time.
The `date-joined` attr tracks the date the user did join.
Delete the captcha message, ban the user, drop the attributes.
sourceraw docstring

process-updateclj

(process-update {:as context :keys [config telegram state me]} update-entry)
source

process-updatesclj

(process-updates context updates)
source

terminate-userclj

(terminate-user {:as _context :keys [telegram config]} chat-id user-id username)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close