diff --git a/apis/websocket/package.json b/apis/websocket/package.json index 734c3a6..3f73800 100755 --- a/apis/websocket/package.json +++ b/apis/websocket/package.json @@ -16,9 +16,9 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "apis/websocket" }, - "author": "Palm (https://github.com/PalmDevs)", + "author": "Palm (https://github.com/PalmDevs)", "contributors": [ - "Palm (https://github.com/PalmDevs)", + "Palm (https://github.com/PalmDevs)", "ReVanced (https://github.com/revanced)" ], "license": "GPL-3.0-or-later", diff --git a/bots/discord/package.json b/bots/discord/package.json index 64497e6..2c82215 100644 --- a/bots/discord/package.json +++ b/bots/discord/package.json @@ -16,9 +16,9 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "bots/discord" }, - "author": "Palm (https://github.com/PalmDevs)", + "author": "Palm (https://github.com/PalmDevs)", "contributors": [ - "Palm (https://github.com/PalmDevs)", + "Palm (https://github.com/PalmDevs)", "ReVanced (https://github.com/revanced)" ], "license": "GPL-3.0-or-later", diff --git a/bots/discord/src/events/discord/interactionCreate/chat-commmand.ts b/bots/discord/src/events/discord/interactionCreate/chat-commmand.ts index bd1536d..c91ecf5 100644 --- a/bots/discord/src/events/discord/interactionCreate/chat-commmand.ts +++ b/bots/discord/src/events/discord/interactionCreate/chat-commmand.ts @@ -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, }) } diff --git a/bun.lockb b/bun.lockb index 6e07953..be6dc63 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 09bb462..d659146 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "version": "0.0.0", "license": "GPL-3.0-or-later", "type": "module", - "author": "Palm (https://github.com/PalmDevs)", + "author": "Palm (https://github.com/PalmDevs)", "workspaces": ["apis/*", "bots/*", "packages/*"], "scripts": { "build": "turbo run build", @@ -24,7 +24,7 @@ "url": "https://github.com/revanced/revanced-helper/issues" }, "contributors": [ - "Palm (https://github.com/PalmDevs)", + "Palm (https://github.com/PalmDevs)", "ReVanced (https://github.com/revanced)" ], "devDependencies": { diff --git a/packages/api/package.json b/packages/api/package.json index ca31c12..2eb4e35 100755 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -19,9 +19,9 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "packages/api" }, - "author": "Palm (https://github.com/PalmDevs)", + "author": "Palm (https://github.com/PalmDevs)", "contributors": [ - "Palm (https://github.com/PalmDevs)", + "Palm (https://github.com/PalmDevs)", "ReVanced (https://github.com/revanced)" ], "license": "GPL-3.0-or-later", diff --git a/packages/shared/package.json b/packages/shared/package.json index 6c1a25a..09f222a 100755 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -19,9 +19,9 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "packages/shared" }, - "author": "Palm (https://github.com/PalmDevs)", + "author": "Palm (https://github.com/PalmDevs)", "contributors": [ - "Palm (https://github.com/PalmDevs)", + "Palm (https://github.com/PalmDevs)", "ReVanced (https://github.com/revanced)" ], "license": "GPL-3.0-or-later",