Skip to content

Commit

Permalink
Patch seed word matching
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhsm committed Sep 24, 2022
1 parent d254cf8 commit 4742d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/message.js → events/seeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
name: 'messageCreate',
once: false,
execute(message) {
if (message.content.includes("seed")) {
if (message.content.match(/seed/gi)) {
try {
message.react('<:itIsSpawnCode:996076074804973660>');
} catch (error) {
Expand Down

0 comments on commit 4742d95

Please sign in to comment.