Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-exz committed Dec 23, 2024
1 parent e288c7f commit c49b79c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 0.18.1
### Bugfixes
- DB migration fixes

## 0.18.0
### Improvements
- Added command to display known problems for channel [#169](/../../issues/169)
Expand Down
2 changes: 1 addition & 1 deletion bot/commands/answer_set_custom_text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def self.call(client:, data:, match:)
return
end

Answer.where(channel_id: data.channel, type: answer_type).delete_all
Answer.where(channel_id: data.channel, answer_type: answer_type).delete_all
answer = Answer.new
answer.body = custom_text
answer.channel_id = data.channel
Expand Down

0 comments on commit c49b79c

Please sign in to comment.