mirror of
https://github.com/kiranshila/Doplarr.git
synced 2026-04-05 08:53:59 -04:00
Little cleanup and remove stacktrace colors
This commit is contained in:
@@ -67,7 +67,8 @@
|
|||||||
|
|
||||||
(defn setup-config! []
|
(defn setup-config! []
|
||||||
(reset! state/config (config/valid-config (load-env)))
|
(reset! state/config (config/valid-config (load-env)))
|
||||||
(timbre/merge-config! {:min-level [[#{"*"} (:log-level @state/config :info)]]}))
|
(timbre/merge-config! {:min-level [[#{"*"} (:log-level @state/config :info)]]
|
||||||
|
:output-fn (partial timbre/default-output-fn {:stacktrace-fonts {}})}))
|
||||||
|
|
||||||
(defn startup! []
|
(defn startup! []
|
||||||
(setup-config!)
|
(setup-config!)
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
[clojure.string :as str]
|
[clojure.string :as str]
|
||||||
[com.rpl.specter :as s]
|
[com.rpl.specter :as s]
|
||||||
[discljord.messaging :as m]
|
[discljord.messaging :as m]
|
||||||
[doplarr.state :as state]
|
|
||||||
[doplarr.utils :as utils]
|
[doplarr.utils :as utils]
|
||||||
[fmnoise.flow :as flow :refer [else]]
|
[fmnoise.flow :as flow :refer [else]]
|
||||||
[taoensso.timbre :refer [fatal]]))
|
[taoensso.timbre :refer [fatal]]))
|
||||||
@@ -112,7 +111,7 @@
|
|||||||
(defn dropdown-result [interaction]
|
(defn dropdown-result [interaction]
|
||||||
(Integer/parseInt (s/select-one [:payload :values 0] interaction)))
|
(Integer/parseInt (s/select-one [:payload :values 0] interaction)))
|
||||||
|
|
||||||
(defn request-embed [{:keys [media-type title overview poster season quality-profile language-profile rootfolder tag]}]
|
(defn request-embed [{:keys [media-type title overview poster season quality-profile language-profile rootfolder]}]
|
||||||
{:title title
|
{:title title
|
||||||
:description overview
|
:description overview
|
||||||
:image {:url poster}
|
:image {:url poster}
|
||||||
|
|||||||
Reference in New Issue
Block a user