Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- structure(message) {
- const messageSplit = message.content.split(' ');
- const [
- prefix,
- command,
- ...args
- ] = messageSplit;
- return {
- prefix: prefix,
- command: command,
- args: args
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement