disco.types.user
Constants
DefaultAvatars = Enum(
BLURPLE = 0,
GREY = 1,
GREEN = 2,
ORANGE = 3,
RED = 4)
GameType = Enum(
DEFAULT = 0,
STREAMING = 1,
LISTENING = 2,
WATCHING = 3)
Status = Enum(ONLINE, IDLE, DND, INVISIBLE, OFFLINE)
Classes
User
Inherits From SlottedModel, with_equality, with_hash
Functions
get_avatar_url(self, fmt, size=1024)
default_avatar(self)
avatar_url(self)
mention(self)
open_dm(self)
str(self)
repr(self)
Game
Inherits From SlottedModel
Presence
Inherits From SlottedModel