$findMember

Searches for a member, by: nickname/ID/mention/username/username#dicriminator

Usage:

$findMember[nickname/ID/mention/username/username#dicriminator;returnCurrentUser (yes/no) (optional)]

If member is found:

Member05/26/2023
!!exec $findMember[Member#0000;no]
Custom Command Bot 05/26/2023
869243919697846379

If member is not found:

Member05/26/2023
!!exec $findMember[user;no]
Custom Command Bot 05/26/2023
undefined

Related Functions

$authorID, to get the ID from the author of the command

$userID, to return a user ID from a given username

Function difficulty: Medium
Tags: member find find member find user search Member search User