Update .gitignore and react.js
This commit is contained in:
parent
55c6eb6882
commit
08382400aa
|
@ -0,0 +1 @@
|
|||
.env
|
|
@ -63,7 +63,7 @@ module.exports = {
|
|||
const getRandomDelay = () => Math.floor(Math.random() * (5000 - 2000 + 1)) + 2000;
|
||||
|
||||
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) {
|
||||
try {
|
||||
const delay = getRandomDelay();
|
||||
|
|
Loading…
Reference in New Issue