console log error and divider on same line

This commit is contained in:
SileNce5k 2021-02-23 15:14:56 +01:00
parent 1c8affebb3
commit cfdee13040
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -57,8 +57,7 @@ client.on('message', async message => {
}
} catch (error) {
message.channel.send("That command either does not exist, or is broken.")
console.log(error)
console.log("-------")
console.log(`${error}\n-------`)
}
});