dico.model.user module
- class dico.model.user.User(client, resp)
Bases:
DiscordObjectBase- 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.Connection(client, resp)
Bases:
object- RESPONSE_AS_LIST
alias of
Union[List[Connection],Awaitable[List[Connection]]]
- class dico.model.user.ApplicationRoleConnection(resp)
Bases:
object- RESPONSE
alias of
Union[ApplicationRoleConnection,Awaitable[ApplicationRoleConnection]]