Skip to content

Commit

Permalink
Show names of failed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tanndlin committed Aug 21, 2024
1 parent 97ab71b commit 68fcc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/commands/addclasschans.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const promptUser = async (

const onConfirm = async (btnInteraction: ButtonInteraction) => {
await btnInteraction.followUp('Creating channels...');
const failedClasses = await proceedToAddClasses(container, classes);
const failedClasses = (await proceedToAddClasses(container, classes)).map(c => c.name)

await btnInteraction.followUp('Done');
if (failedClasses.length) {
Expand Down

0 comments on commit 68fcc26

Please sign in to comment.