We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b441530 commit 44d50a7Copy full SHA for 44d50a7
1 file changed
backend/src/serverless/integrations/services/integrations/discordIntegrationService.ts
@@ -566,6 +566,12 @@ export class DiscordIntegrationService extends IntegrationServiceBase {
566
[PlatformType.DISCORD]: avatarUrl,
567
},
568
}),
569
+ // Add isBot attribute for deleted users to exclude from search. Add if username contains Deleted User
570
+ ...(username.includes('Deleted User') && {
571
+ [MemberAttributeName.IS_BOT]: {
572
+ [PlatformType.DISCORD]: true,
573
+ },
574
+ }),
575
576
577
score: DiscordGrid.message.score,
0 commit comments