Skip to content

Commit

Permalink
made $shard return error method
Browse files Browse the repository at this point in the history
  • Loading branch information
Leref committed Dec 3, 2023
1 parent 89af796 commit cf18050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/functions/event/shard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = async (d) => {
const data = d.util.aoiFunc(d);
if (data.err) return d.error(data.err);

const [option] = data.inside.splits;

Expand Down

0 comments on commit cf18050

Please sign in to comment.