Represents a waifu from mudae.|
A class nested in the Mudae class.
Objects from this class should not be created directly but through a Mudae object
A lot of the attributes will often be null since they either:
a. Are not applicable
b. Can't be read from the waifu message
c. Need to be fetched with the methods
The mudae bot that created this waifu.
The client that's using this waifu.
The waifu message the waifu came from.
The member whose harem the waifu belongs to.
The member that rolled this waifu.
A list of members who wished the waifu.
The name of the waifu.
The series the waifu belongs to.
The kakera value of the waifu.
The key level of the waifu.
The claims rank of the waifu.
The likes rank of the waifu
The type of the waifu.
URL of the image, that the waifu message had, when the object was created.
How many images the waifu has available in total.
Image index of the image attribute with respect to the avaliable images.
How many extra images have been added to the waifu.
If the waifu has been claimed yet.
If the waifu is a roll.
If the waifu is female or both female and male.
Fills the suitor and creator attributes.
Waits for a member to claim this waifu, then returns with that member.
- async await_claim()
- Waits for a member to claim this waifu, then returns with that member.
If the waifu has already been claimed, the owner is returned immediately.
If the waifu doesn't have an owner, the function will wait for up to 60s for someone to claim.
Returns none if after 60s no one has claimed.
The waifu has an owner or one is found.
No owner could be found, the waifu wasn't claimed within 60s.
- async fetch_extra()
- Fills the suitor and creator attributes.
The suitor and creator attributes are by default empty and null respectively. To get the real values, this method must be called.
The method will only work for waifus of type roll and only if the waifu was just rolled.
- enum Type
- Represents the different types of waifus.
The waifu was rolled e.g. created with $w.
The waifu came from the info command e.g. created with $im.