User Object

class mumpy.user.User(server, message)
channel

This user’s current channel.

Returns:the user’s current channel
Return type:Channel
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
get_channel()

Get this user’s current Channel.

Returns:the user’s current Channel
Return type:Channel
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
undeafen()

Undeafens the user.

Returns:None
unmute()

Unmutes the user.

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