đ ī¸Utility Functions
You can find some functions here that can help with quickly creating avatars or getting useful information.
def create_avatar()
Create a DAvatar object and return it.
Returns: a new
DAvatar
object
style
DStyle.random()
seed
None
Base string to determine the avatar.
options
DOptions.empty
General options for the avatar.
customisations
None
Customisations (for the chosen style)
def create_random()
Create a random DAvatar object and return it.
Returns: a new
DAvatar
object
randomOptions
False
Whether to use random (background) options for this avatar or not
def bulk_create()
Create a list of DAvatar
objects (with random seeds).
Returns:
list[DAvatar]
: a list ofDAvatar
objects
style
DStyle.random()
amount
2
The amount of DAvatar objects you want to create.
options
DOptions.empty
General options for the avatars.
custom
None
Customisations (for the chosen style)
Last updated