Skip to content

Commit

Permalink
Update src/yetibot/core/adapters/discord.clj
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Hartman <[email protected]>
  • Loading branch information
bensontrinh and devth authored Jan 11, 2024
1 parent c291638 commit 6105aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yetibot/core/adapters/discord.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
rest-conn (:rest @_conn)
yetibot? (= message-author-id (:id @yetibot-user))]
(if (and
(= (-> event-data :emoji :name) "")
(= emoji-name "")
(= yetibot? true))
(messaging/delete-message! rest-conn channel-id message-id)
(if (= yetibot? true)
Expand Down

0 comments on commit 6105aac

Please sign in to comment.