Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- token: '',
- prefix: '',
- check: function(msg, client) {
- if (msg.author.id == client.user.id) {
- if (msg.content.startsWith(this.prefix)) {
- return(true)
- }
- }
- return(false)
- },
- parse: function(msg) {
- return({
- command: msg.content.slice(this.prefix.length).split(" ")[0],
- args: msg.content.split(" ").slice(1)
- })
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement