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
284) this._userCooldowns.set(${guildId}-${userId}, seconds);
to
284) this._userCooldowns.set(userId, seconds);
And this:
291) this._userCooldowns.get(${guildId}-${userId});
to
291) this._userCooldowns.get(userId);
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
284) this._userCooldowns.set(
${guildId}-${userId}
, seconds); to 284) this._userCooldowns.set(userId, seconds);And this: 291) this._userCooldowns.get(
${guildId}-${userId}
); to 291) this._userCooldowns.get(userId);