dico.model.user module

class dico.model.user.User(client, resp)

Bases: DiscordObjectBase

TYPING

alias of Union[int, str, Snowflake, User]

RESPONSE

alias of Union[User, Awaitable[User]]

RESPONSE_AS_LIST

alias of Union[List[User], Awaitable[List[User]]]

property mention
avatar_url(*, extension='webp', size=1024)
banner_url(*, extension='webp', size=1024)
avatar_decoration_url(*, extension='webp', size=1024)
property voice_state
get_voice_state()
create_dm()
create_message(*args, **kwargs)
property send
raw
id
client
class dico.model.user.UserFlags(*args, **kwargs)

Bases: FlagBase

NONE = 0
DISCORD_EMPLOYEE = 1
PARTNERED_SERVER_OWNER = 2
HYPESQUAD_EVENTS = 4
BHG_HUNTER_LEVEL_1 = 8
HOUSE_BRAVERY = 64
HOUSE_BRILLIANCE = 128
HOUSE_BALANCE = 256
EARLY_SUPPORTER = 512
TEAM_USER = 1024
BHG_HUNTER_LEVEL_2 = 16384
VERIFIED_BOT = 65536
EARLY_VERIFIED_BOT_DEVELOPER = 131072
DISCORD_CERTIFIED_MODERATOR = 262144
BOT_HTTP_INTERACTIONS = 524288
class dico.model.user.PremiumTypes(value)

Bases: TypeBase

NONE = 0
NITRO_CLASSIC = 1
NITRO = 2
class dico.model.user.Connection(client, resp)

Bases: object

RESPONSE_AS_LIST

alias of Union[List[Connection], Awaitable[List[Connection]]]

class dico.model.user.VisibilityTypes(value)

Bases: TypeBase

NONE = 0
EVERYONE = 1
class dico.model.user.ApplicationRoleConnection(resp)

Bases: object

RESPONSE

alias of Union[ApplicationRoleConnection, Awaitable[ApplicationRoleConnection]]