You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "cooldown" attribute is not working as it should.
I can run a command in one server, (1d cd) then switch to another server and i can run the command again.
The fix:
Changed this:
FILE: dist/Command.js
this._userCooldowns.set(${guildId}-${userId}, seconds);
to
this._userCooldowns.set(userId, seconds);
And this:
291) this._userCooldowns.get(${guildId}-${userId});
to
291) this._userCooldowns.get(userId);
The text was updated successfully, but these errors were encountered:
The "cooldown" attribute is not working as it should.
I can run a command in one server, (1d cd) then switch to another server and i can run the command again.
The fix:
Changed this:
FILE: dist/Command.js
${guildId}-${userId}
, seconds);to
And this:
291) this._userCooldowns.get(
${guildId}-${userId}
);to
291) this._userCooldowns.get(userId);
The text was updated successfully, but these errors were encountered: