Skip to content

Commit

Permalink
Updated repo link and removed old anti-crash mech
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyTunes authored Nov 15, 2021
1 parent 4c0e34d commit 96c62b1
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions commands/util/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,10 @@ module.exports = {
* @param {String[]} args
*/
run: async (client, message) => {
process.on('uncaughtException', (error, origin) => {
console.log('----- Uncaught exception -----')
console.log(error)
console.log('----- Exception origin -----')
console.log(origin)
})

process.on('unhandledRejection', (reason, promise) => {
console.log('----- Unhandled Rejection at -----')
console.log(promise)
console.log('----- Reason -----')
console.log(reason)
})

const GITHUB01 = `https://github.com/CaldeiraG`
const GITHUB02 = `https://github.com/OnlyTunes`
const REPOURL = `https://github.com/CaldeiraG/discordbot`
const REPOURL = `https://github.com/OnlyTunesRadio/bot-template`

const row = new MessageActionRow()
.addComponents(
Expand Down Expand Up @@ -58,4 +45,4 @@ module.exports = {
await message.channel.send({ ephemeral: true, embeds: [embed], components: [row] });

}
}
}

0 comments on commit 96c62b1

Please sign in to comment.