Update .gitignore and react.js

This commit is contained in:
Wizzard 2024-09-18 08:23:57 -04:00
parent 55c6eb6882
commit 08382400aa
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env

2
commands/react.js vendored
View File

@ -63,7 +63,7 @@ module.exports = {
const getRandomDelay = () => Math.floor(Math.random() * (5000 - 2000 + 1)) + 2000; const getRandomDelay = () => Math.floor(Math.random() * (5000 - 2000 + 1)) + 2000;
message.client.reactListener = async (msg) => { message.client.reactListener = async (msg) => {
if (message.client.targetReactUserIds.includes(msg.author.id)) { if (message.client.targetReactUserIds && message.client.targetReactUserIds.includes(msg.author.id)) {
for (const emoji of emojis) { for (const emoji of emojis) {
try { try {
const delay = getRandomDelay(); const delay = getRandomDelay();