|
|
@ -12,7 +12,7 @@ module.exports = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
help: "Fully restarts the bot. Developer-only.", |
|
|
|
help: "Fully restarts the bot. Developer-only.", |
|
|
|
async execute(message, msg, args, cmd, prefix, mention, client) { |
|
|
|
async execute(message, msg, args, cmd, prefix, mention, client) { |
|
|
|
if (!client.developers.includes(message.author.id)) { |
|
|
|
if (!client.developers.includes(message.author.id)) {return message.channel.send("You must be a developer in order to do that!");} |
|
|
|
try { |
|
|
|
try { |
|
|
|
await require('../../util/lxp/cacheloop')(client); |
|
|
|
await require('../../util/lxp/cacheloop')(client); |
|
|
|
await require('../../util/vcloop')(client); |
|
|
|
await require('../../util/vcloop')(client); |
|
|
@ -31,5 +31,4 @@ module.exports = { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} catch {return message.channel.send("There was an error in trying to do that!");} |
|
|
|
} catch {return message.channel.send("There was an error in trying to do that!");} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
}; |