File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments