diff --git a/src/structure/client/wrappers/InteractionWrapper.js b/src/structure/client/wrappers/InteractionWrapper.js index 163ccc2..0710852 100644 --- a/src/structure/client/wrappers/InteractionWrapper.js +++ b/src/structure/client/wrappers/InteractionWrapper.js @@ -191,7 +191,7 @@ class InteractionWrapper { * @param options interaction.options.data */ _options(options) { - if (!options) return []; + if (!options?.length) return []; if (['SUB_COMMAND_GROUP', 'SUB_COMMAND'].includes(options[0].type)) return this._options(options[0].options); return options; }