GetArgs
GetArgs API
This function gets the arguments of a message's content.
To use it, require the Osiris API and call it (with the message's content being the first argument)
Here's an example of how to use it:
// Get the function
const { osiris } = require("../../api/")
// Place this in your command
const Content = data.Content;
var Args = osiris.utils.getArgs(Content);
// Args[0] is the command
Last updated