(in-package :cl-user) (defpackage chatikbot.common (:use :cl :chatikbot.db :chatikbot.utils :chatikbot.telegram :chatikbot.crypto :chatikbot.secrets :chatikbot.server :chatikbot.macros :chatikbot.bot :chatikbot.inline :chatikbot.chat-cron :chatikbot.poller) (:export :db-transaction :db-execute :db-select :db-single :db-init :load-settings :set-setting :lists-set-entry :lists-get :*message-id* :*from-id* :*chat-id* :*text* :*message* :*cmd* :*args* :*query-id* :*from* :*raw-data* :*inline-message-id* :*source-message* :*source-chat-id* :*source-message-id* :*callback* :*data* :*section* :*code* :*error* :*raw-state* :*state* :*hook* :*headers* :*paths* :*admins* :*bot-name* :*hooks* :+hour+ :+day+ :*chat-default-timezone* :run-hooks :add-hook :remove-hook :is-admin :keyify :dekeyify :*settings* :defsetting :*backoff-start* :*backoff-max* :loop-with-error-backoff :replace-all :aget :agets :agetter :preprocess-input :punctuation-p :read-from-string-no-punct :print-with-spaces :spaced :text-chunks :http-request :xml-request :get-by-tag :select-text :trim-nil :text-with-cdata :unspacify :child-text :clean-text :json-request :plist-hash :plist-json :format-ts :parse-cmd :parse-float :smart-f :format-size :format-interval :symbol-append :get-chat-location :get-chat-timezone :same-time-in-chat :group-by :pmapcar :filled :*telegram-token* :+telegram-max-callback-data-length+ :telegram-get-updates :telegram-get-me :telegram-set-webhook :telegram-send-message :telegram-forward-message :telegram-send-photo :telegram-send-audio :telegram-send-document :telegram-send-sticker :telegram-send-video :telegram-send-voice :telegram-send-video-note :telegram-send-media-group :telegram-send-location :telegram-edit-message-live-location :telegram-stop-message-live-location :telegram-send-contact :telegram-send-chat-action :telegram-send-get-user-profile-photos :telegram-send-get-file :telegram-answer-callback-query :telegram-edit-message-text :telegram-edit-message-caption :telegram-edit-message-reply-markup :telegram-delete-message :telegram-answer-inline-query :telegram-file-contents :telegram-inline-keyboard-markup :telegram-reply-keyboard-markup :telegram-reply-keyboard-hide :telegram-force-reply :bot-send-message :token-hmac :encode-callback-data :decode-callback-data :encode-oauth-state :decode-oauth-state :*secret-ring* :*secret-pass-store* :*secret-pass-bin* :secret-get :secret-set :secret-del :secret-wipe :with-secret :def-webhook-handler :get-webhook-url :get-oauth-url :def-db-init :with-parsed-message :def-message-handler :def-message-cmd-handler :def-message-admin-cmd-handler :with-parsed-callback :def-callback-handler :def-callback-section-handler :def-oauth-handler :def-oauth-section-handler :with-random-state :with-chat-in-list :defcron :handle-update :*bot-user-id* :on-next-message :get-inline-keyboard :inline-button :add-chat-cron :get-chat-crons :delete-chat-cron :def-chat-cron-handler :*poller-token* :*poller-module* :rest-parameters :poller-request :poller-validate :poller-get-token :poller-error :poller-no-secret :poller-cant-get-token :poller-cant-authenticate :poller-call :poller-poll-lists :poller-authenticate)) (in-package :chatikbot.common)