$randomUserID

Retrieves a random user ID from a user within the server.

Usage:

$randomUserID

Member04/23/2025
!!exec $randomUserID
Custom Command Bot 04/23/2025
97907890789087988

Important

The user ID is selected randomly from the server's cached members. This means the returned user ID might not always represent a currently active member, especially if all guild members are not cached (typically only guaranteed in higher server tiers).

Function Difficulty: Easy
Tags: random random user ID selection user ID