Compare commits
No commits in common. "c3e328d5385add7a25283d69a9d3e8e164444f1e" and "0eda06fe3dd90f12dbaff56bdc186edfc14067cc" have entirely different histories.
c3e328d538
...
0eda06fe3d
1 changed files with 6 additions and 11 deletions
|
@ -60,18 +60,13 @@ export default class Series extends Command {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
const embed = await SeriesHelper.GenerateSeriesViewPage(series.id, 0, interaction.user.id);
|
||||||
const embed = await SeriesHelper.GenerateSeriesViewPage(series.id, 0, interaction.user.id);
|
|
||||||
|
|
||||||
await interaction.followUp({
|
await interaction.followUp({
|
||||||
embeds: [ embed!.embed ],
|
embeds: [ embed!.embed ],
|
||||||
components: [ embed!.row ],
|
components: [ embed!.row ],
|
||||||
files: [ embed!.image ],
|
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) {
|
private async ListSeries(interaction: CommandInteraction) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue