Compare commits

...

2 commits

Author SHA1 Message Date
c3e328d538 Merge branch 'main' into develop 2025-04-22 16:15:16 +01:00
1796f2519e Add error handler to series view command 2025-04-22 16:12:04 +01:00

View file

@ -60,6 +60,7 @@ export default class Series extends Command {
return;
}
try {
const embed = await SeriesHelper.GenerateSeriesViewPage(series.id, 0, interaction.user.id);
await interaction.followUp({
@ -67,6 +68,10 @@ export default class Series extends Command {
components: [ embed!.row ],
files: [ embed!.image ],
});
} catch (e) {
await interaction.followUp("An error has occured generating the series grid.");
AppLogger.CatchError("Series", e);
}
}
private async ListSeries(interaction: CommandInteraction) {