User Object¶
-
class
mumpy.user.User(server, message)¶ -
-
clear_audio_log()¶ Clears this user’s audio log, removing all their completed audio transmissions from memory.
Returns: None
-
deafen()¶ Deafens the user.
Returns: None
-
kick(reason='', ban=False)¶ Kicks user. Bans the user if ban is True.
Parameters: - reason (str) – The reason for kicking
- ban (bool) – Whether or not the user should also be banned
Returns: None
-
move_to_channel(channel)¶ Moves the user to the specified channel.
Parameters: channel (Channel) – the Channel to move them to Returns: None
-
mute()¶ Mutes the user.
Returns: None
-
register()¶ Registers the user on the server.
Returns: None
-
session_id¶ This user’s session ID.
Returns: session ID Return type: int
-
text_message(message)¶ Sends the user a private text message.
Parameters: message (str) – the message Returns: None
-
undeafen()¶ Undeafens the user.
Returns: None
-
unmute()¶ Unmutes the user.
Returns: None
-
unregister()¶ Unregisters the user on the server.
Returns: None
-
update_comment()¶ Query the server for this user’s comment.
Returns: None
-
update_stats()¶ Requests updated stats about the user from the server.
Returns: None
-
update_texture()¶ Query the server for this user’s texture.
Returns: None
-