Skip to content

Commit d77dda4

Browse files
removed unnecessary comments
1 parent dd57bc0 commit d77dda4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/controllers/mentionEachUser.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ export async function mentionEachUser(
4444
if (usersWithMatchingRole.length === 0) {
4545
responseMessage = `Sorry, no user found with <@&${roleId}> role.`;
4646
} else if (usersWithMatchingRole.length === 1) {
47-
// Mention the single user by ID
4847
responseMessage = `The user with <@&${roleId}> role is ${payload.usersWithMatchingRole}.`;
4948
} else {
50-
// Mention multiple users by their IDs
5149
responseMessage = `The users with <@&${roleId}> role are ${payload.usersWithMatchingRole}.`;
5250
}
5351
return discordTextResponse(responseMessage);
@@ -60,7 +58,6 @@ export async function mentionEachUser(
6058
});
6159
return discordTextResponse(responseData);
6260
} else {
63-
// Regular dev flow to mention users
6461
ctx.waitUntil(
6562
mentionEachUserInMessage({
6663
message: payload.message,

0 commit comments

Comments
 (0)