-
Generates a Minecraft achievement image.
- text (
str
): The text to display on the achievement image. - icon (
Optional
[str
|int
|MinecraftIcon
]): The icon to display. Defaults toMinecraftIcon.RANDOM
.
Image
: The generated achievement image. - text (
-
Generates a Minecraft challenge image.
- text (
str
): The text to display on the challenge image. - icon (
Optional
[str
|int
|MinecraftIcon
]): The icon to display. Defaults toMinecraftIcon.RANDOM
.
Image
: The generated challenge image. - text (
-
Returns a random birb image.
Aliases:bird
str
: The URL of the random birb image. -
Returns a random cat image.
Aliases:cat
str
: The URL of the random cat image. -
Returns a random dog image.
Aliases:dog
str
: The URL of the random dog image. -
Returns a random sad cat image.
str
: The URL of a random sad cat image.
-
Generates a "calling" meme image.
- text (
str
): The text to display on the image.
Image
: The generated image. - text (
-
Generates a captcha-style image.
Image
: The generated image. -
Returns a random coffee image.
str
: The URL of the random coffee image. -
Generates a "Did you mean?" meme image.
Aliases:didyoumean
Image
: The generated image. -
Generates a Drake meme image.
Image
: The generated Drake meme image. -
Generates a "facts" meme image.
- text (
str
): The fact to display.
Image
: The generated image. - text (
-
Returns information and an image for the given HTTP status code.
- code (
int
): The HTTP status code.
HTTPResult
: The result object containing the code, name, and description. - code (
-
await alex_api.nft(hex: Optional[str] = None, season: NFTSeason = NFTSeason.RANDOM, *, seed: Optional[Any] = None, return_image: bool = False) -> NFT
Generates an NFT image of the Xela Discord bot.
- hex (
Optional
[str
]): The hex color code. Required ifseason
is notNFTSeason.RANDOM
. - season (
Optional
NFTSeason
]): The NFT season. Defaults toNFTSeason.RANDOM
. - seed (
Optional
[Any
]): Unique seed for deterministic output. - return_image (
Optional
[bool
]): IfTrue
, returns an Image object instead of an NFT object.
Note:season
cannot beNFTSeason.RANDOM
if this isTrue
. Defaults toFalse
.
- hex (
-
Generates a Pornhub-style meme image.
Aliases:ph
- text (
str
): The text to display.
Image
: The generated image. - text (
-
Generates a scroll message image.
- text (
str
): The text to display.
Image
: The generated image. - text (
-
Generates a Supreme-style meme image.
- text (
str
): The text to display.
Image
: The generated image. - text (
-
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)
Generates a SillyCat image.
- left_hex (
Optional
[str
]: Hex color for the left side. Required ifrandom
isFalse
. - right_hex (
Optional
[str
]): Hex color for the right side. Required ifrandom
isFalse
. - random (
Optional
[bool
]: Use random colors. Defaults toTrue
if both hex values areNone
. - seed (
Optional
[Any
]): Unique seed for deterministic output. - return_image (
Optional
[bool
]): IfTrue
, returns an Image object only.
Note: Eitherleft_hex
orright_hex
must not beNone
if this isTrue
. Defaults toFalse
.
SillyCat
: The generated SillyCat object containing the image and color information. Ifreturn_image
isTrue
, returns an Image object instead. - left_hex (
-
Returns a Colour object for the given color.
Aliases:color
Colour
: The Colour object containing information about the color.