diff --git a/discordBot/commands/common/courses/embedBuilders.js b/discordBot/commands/common/courses/embedBuilders.js index 2174ade..c78ad38 100644 --- a/discordBot/commands/common/courses/embedBuilders.js +++ b/discordBot/commands/common/courses/embedBuilders.js @@ -84,7 +84,7 @@ export function courseInformation (information) { }, { name: 'Average Class Size', - value: information.enrollment_number.toString(), + value: 'enrollment_number' in information ? information.enrollment_number.toString() : '*Information not available.*', inline: true }, {