Advertisement
Guest User

Untitled

a guest
May 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. structure(message) {
  2.     const messageSplit = message.content.split(' ');
  3.  
  4.     const [
  5.         prefix,
  6.         command,
  7.         ...args
  8.     ] = messageSplit;
  9.  
  10.     return {
  11.         prefix: prefix,
  12.         command: command,
  13.         args: args
  14.     };
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement