Skip to content

Commit

Permalink
Merge pull request #53 from kiranshila/develop
Browse files Browse the repository at this point in the history
Plain request alert by default
  • Loading branch information
kiranshila authored Jan 17, 2022
2 parents ccea34b + 13a958a commit 03fac8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/doplarr/interaction_state_machine.clj
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@
(info "Performing request for " payload)
(msg-resp "Request performed!")
(case (:discord/requested-msg-style @state/config)
:plain (m/create-message! messaging channel-id (discord/request-performed-plain payload media-type user-id))
:embed (m/create-message! messaging channel-id (discord/request-performed-embed embed user-id)))))))
:none nil
:embed (m/create-message! messaging channel-id (discord/request-performed-embed embed user-id))
(m/create-message! messaging channel-id (discord/request-performed-plain payload media-type user-id)))))))
(else (fn [e]
(let [{:keys [status body] :as data} (ex-data e)]
(if (= status 403)
Expand Down

0 comments on commit 03fac8c

Please sign in to comment.