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",
|
"url": "git+https://github.com/revanced/revanced-helper.git",
|
||||||
"directory": "apis/websocket"
|
"directory": "apis/websocket"
|
||||||
},
|
},
|
||||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"author": "Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"contributors": [
|
"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)"
|
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||||
],
|
],
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
"url": "git+https://github.com/revanced/revanced-helper.git",
|
"url": "git+https://github.com/revanced/revanced-helper.git",
|
||||||
"directory": "bots/discord"
|
"directory": "bots/discord"
|
||||||
},
|
},
|
||||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"author": "Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"contributors": [
|
"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)"
|
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||||
],
|
],
|
||||||
"license": "GPL-3.0-or-later",
|
"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'
|
import { on } from '$utils/discord/events'
|
||||||
|
|
||||||
export default on('interactionCreate', async (context, interaction) => {
|
export default on('interactionCreate', async (context, interaction) => {
|
||||||
@@ -66,12 +66,7 @@ export default on('interactionCreate', async (context, interaction) => {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(`Error while executing command ${interaction.commandName}:`, err)
|
logger.error(`Error while executing command ${interaction.commandName}:`, err)
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
embeds: [
|
embeds: [createStackTraceEmbed(err)],
|
||||||
createErrorEmbed(
|
|
||||||
'An error occurred while executing this command',
|
|
||||||
'Please report this to the developers.',
|
|
||||||
),
|
|
||||||
],
|
|
||||||
ephemeral: true,
|
ephemeral: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"author": "Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"workspaces": ["apis/*", "bots/*", "packages/*"],
|
"workspaces": ["apis/*", "bots/*", "packages/*"],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "turbo run build",
|
"build": "turbo run build",
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
"url": "https://github.com/revanced/revanced-helper/issues"
|
"url": "https://github.com/revanced/revanced-helper/issues"
|
||||||
},
|
},
|
||||||
"contributors": [
|
"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)"
|
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -19,9 +19,9 @@
|
|||||||
"url": "git+https://github.com/revanced/revanced-helper.git",
|
"url": "git+https://github.com/revanced/revanced-helper.git",
|
||||||
"directory": "packages/api"
|
"directory": "packages/api"
|
||||||
},
|
},
|
||||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"author": "Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"contributors": [
|
"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)"
|
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||||
],
|
],
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|||||||
@@ -19,9 +19,9 @@
|
|||||||
"url": "git+https://github.com/revanced/revanced-helper.git",
|
"url": "git+https://github.com/revanced/revanced-helper.git",
|
||||||
"directory": "packages/shared"
|
"directory": "packages/shared"
|
||||||
},
|
},
|
||||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"author": "Palm <palmdevelops@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"contributors": [
|
"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)"
|
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||||
],
|
],
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|||||||
Reference in New Issue
Block a user