$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:

Member02/03/2022
!!exec $findMember[Member#0000;no]
Custom Command Bot 02/03/2022
869243919697846379

If member is not found:

Member02/03/2022
!!exec $findMember[user;no]
Custom Command Bot 02/03/2022
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 Difficultly: Medium
Tags: member find find member find user search Member search User