diff --git a/events/client/messageCreate.js b/events/client/messageCreate.js index 5dd668de..3871b57b 100644 --- a/events/client/messageCreate.js +++ b/events/client/messageCreate.js @@ -371,6 +371,7 @@ export default { const args = {}; for (let i = 0; i < command.data.options.length; i++) { + if (!messageArgs[i]) continue; const arg = command.data.options[i]; const type = arg.constructor.name.toLowerCase(); let payload = messageArgs[i];