Skip to content

Commit

Permalink
fix: pings
Browse files Browse the repository at this point in the history
remove OnReadyGuildCheck
  • Loading branch information
TobiTenno committed Apr 22, 2023
1 parent cb23205 commit 8eea9c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 94 deletions.
93 changes: 0 additions & 93 deletions src/eventHandlers/ReadyRatioCheck.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/settings/DatabaseQueries/PingsQueries.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class PingsQueries {
const query = SQL`INSERT INTO pings VALUES `;
const combined = opts.events.concat(opts.items);
combined.forEach((eventOrItem, index) => {
query.append(SQL`(${guild.id}, ${eventOrItem}, ${text})`).append(index !== combined.length - 1 ? ',' : ';');
query.append(SQL`(${guild.id}, ${eventOrItem}, ${text})`).append(index !== combined.length - 1 ? ',' : '');
});
query.append(SQL`ON DUPLICATE KEY UPDATE text = ${text};`);
return this.query(query);
Expand Down

0 comments on commit 8eea9c6

Please sign in to comment.