Closed moruzerinho6 closed 3 years ago
The function should accept the entire message content and return a object which includes keys which points to what each parameter is for.
Example:
// Files const argument = require('../utils/argument.js') const userInput = message.content // fox.userlanguage pt-br const filteredArgument = argument.filter(userInput) filteredArgument.command // userlanguage filteredArgument.arguments // ['pt-br']
The function should accept the entire message content and return a object which includes keys which points to what each parameter is for.
Example: