Skip to content

Commit

Permalink
various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
XboxBedrock committed Jul 7, 2024
1 parent 48905b1 commit 8fb6eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/BlunderTracker.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class BlunderTracker extends typeorm.BaseEntity {
}

async roleToTeam(client: Client): Promise<string> {
if (!this.role) return "the team"
if (!this.role) return ""
const role = (await client.customGuilds.staff()).roles.cache.get(this.role)
if (!role) return ""
if (NO_PLURAL.includes(role.name.toLowerCase())) return role.name
Expand Down

0 comments on commit 8fb6eb5

Please sign in to comment.