mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-21 03:58:05 +01:00
feat(arabot): create custom error for catch
This commit is contained in:
@@ -77,6 +77,7 @@ export class NonVeganAccessButtonHandler extends InteractionHandler {
|
||||
ephemeral: true,
|
||||
});
|
||||
} catch (error) {
|
||||
this.container.logger.error(`Non Vegan Access Interaction: ${error}`);
|
||||
await interaction.reply({
|
||||
content: errorMessage,
|
||||
ephemeral: true,
|
||||
|
||||
Reference in New Issue
Block a user