Skip to content

Commit

Permalink
Don't crash !notqualified if the team is disbanded.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed May 30, 2023
1 parent 4bd8de1 commit 4081e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord/commands/notqualified.js
Expand Up @@ -76,7 +76,7 @@ class NotQualified {
embeds: [
Discord.embedBuilder({
description: `**${team.name}** is set as no longer being qualified to affect other teams' ratings.`,
color: team.role.color
color: team.role ? team.role.color : void 0
})
]
});
Expand Down

0 comments on commit 4081e6d

Please sign in to comment.