Visitar URL original
add search-based condition to rule-based automod by danthe1st · Pull Request #555 · Java-Discord/JavaBot · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'javabot/main' into custom-automod-search
  • Loading branch information
danthe1st committed Aug 8, 2026
commit d39dfe7d20eb98aff1443e8db71490f0bd846096
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ private void clear() throws DataAccessException {
jdbcTemplate.update("DELETE FROM message_cache WHERE 1 = 1");
}

private void insertList(@NotNull List<CachedMessage> messages) throws DataAccessException {
jdbcTemplate.batchUpdate("MERGE INTO message_cache (message_id, author_id, message_content) VALUES (?, ?, ?)",
public void insertList(@NotNull List<CachedMessage> messages) throws DataAccessException {
jdbcTemplate.batchUpdate("MERGE INTO message_cache (message_id, author_id, channel_id, message_content) VALUES (?, ?, ?, ?)",
new BatchPreparedStatementSetter() {
@Override
public void setValues(PreparedStatement stmt, int i) throws SQLException {
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.