$memberSearch

Search for members with username or nickname in the server and get their information

Usage

$memberSearch[username/nickname;amount to return (Default is 1);separator (Default is ,);info to return (Default is id)]

Info To Return:

By default it is id, but you can pick from:

  • id: to return the found user id\
  • username: to return the found user's username\
  • nickname: to return the found user's nickname in the server\
  • name: to return the found user's display name in the server

You can also use combination of them, like name (id) to be replaced with Mido (12345678901234567)

You can know more information about the user with the use of $user

Amount to Return:

It determines how many users it will return if they match the query, by default it is 1

When multiple user returned, they will merged together with the separator

Example (Search and member is found):

Member08/22/2024
!!exec $memberSearch[mido.dev]

Custom Command Bot 08/22/2024
788361834360864808

Example (Search and multiple members are found):

Member08/22/2024
!!exec $memberSearch[A;5;, ;name]

Custom Command Bot 08/22/2024
Alpha, Alight, A living legend, A story in life

Example (Search but member is not found):

Member08/22/2024
!!exec $memberSearch[bad.dev]

Custom Command Bot 08/22/2024

Example (Search and use the user id to retrieve join date):

Member08/22/2024
!!exec $let[user_id;$memberSearch[mido.dev]]
Mido joined the server at: $memberJoinedDate[$user_id]

Custom Command Bot 08/22/2024
Mido joined the server at: Wed Mar 09 2022 22:06:21