Fix command with args

This commit is contained in:
Supositware 2022-09-02 22:31:53 +02:00
parent 84aaeefe00
commit 22079fcc4e

View file

@ -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];