dc_member_from_user
dc_member_from_user(user, server)
#
Gets the member value from a user and server. If the member is cached, it is returned immediately. Otherwise, it will be requested and this call will block.
Blocking function
Invoking this function can freeze the game.
Use it in a task
to avoid freezing your game.
Input parameters#
Parameter | Type | Description |
---|---|---|
user |
User | The user. |
server |
Server | The server in which the user is. |
Output values#
Return values#
Uncaught exceptions #
Throws an exception on failure.
* api_exception
* missing_permission