await alex_api.achievement(text: str, icon: Union[str, int, MinecraftIcon] = MinecraftIcon.RANDOM
) -> Image
Returns an achievement image.
- text (str) - The text to display on the image.
- icon (Union[str, int, MinecraftIcon]) - The icon to display on the image. Defaults to MinecraftIcon
.RANDOM
.
await alex_api.challenge(text: str, icon: Union[str, int, MinecraftIcon] = MinecraftIcon.RANDOM
) -> Image
Returns an challenge image.
- text (str) - The text to display on the image.
- icon (Union[str, int, MinecraftIcon]) - The icon to display on the image. Defaults to MinecraftIcon
.RANDOM
.
await alex_api.birb() -> str
Returns a random birb image. Aliases: bird
await alex_api.cats() -> str
Returns a random cat image.
Aliases: cat
await alex_api.dogs() -> str
Returns a random dog image.
Aliases: dog
await alex_api.sadcat() -> str
Returns a random sadcat image.
Returns a calling image.
- text (str) - The text to display on the image.
Returns a captcha image.
await alex_api.coffee() -> str
Returns a random coffee image.
Returns a did you mean message.
Aliases: didyoumean
Returns a drake meme image.
Returns a facts image.
- text (str) - The text to display on the image.
await alex_api.nft(hex: Optional[str] = None, season: NFTSeason = NFTSeason.RANDOM
, *, seed: Optional[Any] = None, return_image: bool = False
) -> NFT
Generates an NFT of the Xela discord bot.
- hex (Optional[str]) - The hex code of the colour to use. This is required if
season
is not :attr:.NFTSeason.RANDOM
. - season (NFTSeason) - The season to use. Defaults to NFTSeason
.RANDOM
- seed (Optional[Any]) - The unique seed to use. Defaults to
None
. With this you can get the same NFT every time. - return_image (bool) - Whether to return an image object instead of an :class:
.NFT
object.season
cannot be NFTSeason.RANDOM
if this isTrue
. Defaults toFalse
.
Returns a pornhub image.
Aliases: ph
- text (str) - The text to display on the image.
Returns a scroll message.
- text (str) - The text to display on the image.
Returns a supreme message.
- text (str) - The text to display on the image.
await alex_api.sillycat(left_hex: Optional[str] = None
, right_hex: Optional[str] = None
, *, random: bool = True
, seed: Optional[Any] = None, return_image: bool = False
) -> SillyCat
Generates a SillyCat image
- left_hex (Optional[str]) - The hex code of the colour to use on the left side. This is required if
random
isFalse
. - right_hex (Optional[str]) - The hex code of the colour to use on the right side. This is required if
random
isFalse
. - random (bool) - Whether to use random colours or not. Defaults to
True
if bothleft_hex
andright_hex
areNone
. - seed (Optional[Any]) - The unique seed to use. Defaults to
None
. With this you can get the same sillycat every time. - return_image (bool) - Whether to return an image object only or the full SillyCat object.
either
left_hex
orright_hex
must not beNone
if this isTrue
. Defaults toFalse
.
Returns a Colour object.
Aliases: color
Closes the session.
Returns an invite to the API's support server.
- creator (bool) - Whether to also return the wrapper creator's support server invite.