discordaio.user
¶
Users in Discord are generally considered the base entity. Users can spawn across the entire platform, be members of guilds, participate in text and voice chat, and much more. Users are separated by a distinction of “bot” vs “normal.” Although they are similar, bot users are automated users that are “owned” by another user. Unlike normal users, bot users do not have a limitation on the number of Guilds they can be a part of.
Classes¶
User
: Represents a discord userUserConnection
: Represents a discord user connection
-
class
discordaio.user.
User
(id=0, username='', discriminator='', avatar='', bot=False, system=False, mfa_enabled=False, locale='', verified=False, email='', flags=0, premium_type=0, public_flags=0)[source]¶ Represents a discord user
New in version 0.2.0.
-
system
¶ whether the user is an Official Discord System user (part of the urgent message system)
Type: bool
, optional
the type of Nitro subscription on a user’s account
Type: int
, optional
Inheritance
-