Skip to content

Commit

Permalink
fix(detector): remove . from content
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev committed Oct 2, 2021
1 parent 8bac0d1 commit 0cb3e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detector/detector.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = async (client, message, database, edited) => {
}
}

if (!detect(message.content)) {
if (!detect(message.content.replaceAll('.', ''))) {
return;
}

Expand Down

0 comments on commit 0cb3e09

Please sign in to comment.