It never worked anyways
This commit is contained in:
parent
10e429c870
commit
30d94706e1
1 changed files with 1 additions and 3 deletions
|
@ -38,10 +38,8 @@ module.exports = function(client, owners, message, globalPrefix){
|
|||
}
|
||||
if (command.admin && owners.indexOf(message.author.id.toString()) == -1) return;
|
||||
try {
|
||||
let t0 = performance.now();
|
||||
command.execute({ message: message, args: args, client: client, prefix: prefix, owners: owners, globalPrefix: globalPrefix})
|
||||
let t1 = performance.now();
|
||||
console.log(`${message.author.username}(id: ${message.author.id}) executed ${command.name} with '${args}' as arguments in ${(t1-t0).toFixed(2)} ms`)
|
||||
console.log(`${message.author.username}(id: ${message.author.id}) executed ${command.name} with '${args}' as arguments`)
|
||||
} catch (error) {
|
||||
let divider = "------------------------"
|
||||
console.log(divider)
|
||||
|
|
Loading…
Add table
Reference in a new issue