Skip to content

Commit 1de5d1b

Browse files
authored
Update Check if user is verified.js
help gabi out
1 parent 203e2aa commit 1de5d1b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Parsers/Check if user is verified.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ if(grUser.get('user_id',user_id) && Object.keys(grUser).indexOf('verified') != -
1717

1818
message_body += '' + grUser.getValue('name') + '\'s identity '+ verification_status;
1919
if(!gs.nil(user_info)) message_body += '\n\nThe following information has been noted about this user:\n\n> ' + user_info;
20+
if (
21+
current.channel == "GD51HTR46" ||
22+
current.channel == "G9LAJG7G8" ||
23+
current.channel == "G7M4AP6U8"
24+
) { message_body += `\n\n Hey! You\'re in an admin channel!\nIf you want to change the verify status or add a note, try \`!verify-admin <@${user_id}>\``; }
2025
}
2126
else {
2227
message_body += 'I\'m afraid I can\'t do that. Either the user does not exist, or the logic to support this functionality is not yet on the instance.';

0 commit comments

Comments
 (0)