diff --git a/src/functions/event/shard.js b/src/functions/event/shard.js index 0df7970d5..60681e465 100644 --- a/src/functions/event/shard.js +++ b/src/functions/event/shard.js @@ -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;