chore: update contributor email

This commit is contained in:
PalmDevs
2024-03-30 14:49:17 +07:00
parent 669e24ca81
commit e25fc7d3c5
7 changed files with 12 additions and 17 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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,
}) })
} }

BIN
bun.lockb

Binary file not shown.

View File

@@ -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": {

View File

@@ -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",

View File

@@ -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",