Skip to content

Commit

Permalink
fix: invalid error
Browse files Browse the repository at this point in the history
  • Loading branch information
Faf4a authored Dec 10, 2023
1 parent d33ef47 commit b162393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/misc/getCooldownTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = async (d) => {
let [time, type, cmdName, id] = data.inside.splits;

time = Time.parse(time)?.ms;
if (!time) return d.aoiError.fnError(d, "custom", { inside: data.inside }, "Type");
if (!time) return d.aoiError.fnError(d, "custom", { inside: data.inside }, "Time");

const types = {
globalUser: id,
Expand Down

0 comments on commit b162393

Please sign in to comment.