Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. module.exports = {
  2. token: '',
  3. prefix: '',
  4. check: function(msg, client) {
  5. if (msg.author.id == client.user.id) {
  6. if (msg.content.startsWith(this.prefix)) {
  7. return(true)
  8. }
  9. }
  10. return(false)
  11. },
  12. parse: function(msg) {
  13. return({
  14. command: msg.content.slice(this.prefix.length).split(" ")[0],
  15. args: msg.content.split(" ").slice(1)
  16. })
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement