mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
chore: update contributor email
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
"url": "git+https://github.com/revanced/revanced-helper.git",
|
||||
"directory": "bots/discord"
|
||||
},
|
||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
||||
"author": "Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||
"contributors": [
|
||||
"Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
||||
"Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||
],
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createErrorEmbed } from '$utils/discord/embeds'
|
||||
import { createErrorEmbed, createStackTraceEmbed } from '$utils/discord/embeds'
|
||||
import { on } from '$utils/discord/events'
|
||||
|
||||
export default on('interactionCreate', async (context, interaction) => {
|
||||
@@ -66,12 +66,7 @@ export default on('interactionCreate', async (context, interaction) => {
|
||||
} catch (err) {
|
||||
logger.error(`Error while executing command ${interaction.commandName}:`, err)
|
||||
await interaction.reply({
|
||||
embeds: [
|
||||
createErrorEmbed(
|
||||
'An error occurred while executing this command',
|
||||
'Please report this to the developers.',
|
||||
),
|
||||
],
|
||||
embeds: [createStackTraceEmbed(err)],
|
||||
ephemeral: true,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user