$randomUserID

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

Usage:

$randomUserID

Member06/01/2026
!!exec $randomUserID
Custom Command Bot 06/01/2026
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