Skip to content

Commit 0aabe54

Browse files
committed
Deprecating ganimal
1 parent f1e9ad0 commit 0aabe54

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ glitch = await pxl.glitch(images=["https://cdn.discordapp.com/avatars/6061626611
1919
# Docs
2020
There is no website offering documentation, however if you hover over a function in your IDE it will give you some info about what it does, you can also just read the source code. For an example in a discord bot, please click [here](https://github.com/Kile/pypxl/blob/main/examples/glitch_discord.markdown)
2121

22-
I have implemented most functions this library offers in commands in my bot. You can find those commands [here](https://github.com/Kile/Killua/blob/main/killua/cogs/pxlapi.py)
22+
I have implemented most functions this library offers in commands in my bot. You can find those commands [here](https://github.com/Kile/Killua/blob/main/killua/cogs/image_manipulation.py)
2323

2424
For questions and suggestions, join my discord server or dm me (`Kile#0606`)
2525

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[tool.poetry]
33
name = "pypxl"
4-
version = "0.2.2"
4+
version = "0.2.3"
55
description = "An Asynchronos API wrapper for https://pxlapi.dev"
66
license = "MIT"
77
readme = "README.md"

pypxl/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
__author__ = "Kile"
1010
__license__ = "MIT"
1111
__copyright__ = "Copyright 2021 Kile"
12-
__version__ = "0.2.2"
12+
__version__ = "0.2.3"
1313

1414
from .client import PxlClient

pypxl/client.py

-15
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,6 @@ async def flag(self, flag:str, images:List[str], opacity:int=128) -> PxlObject:
132132
}
133133
return await self._get_img(f'flag/{flag.lower()}', body)
134134

135-
async def ganimal(self, images:List[str]) -> PxlObject:
136-
"""
137-
Turns the provided images into images with animal faces
138-
139-
# Parameters:
140-
`images (list)`: The images to proccess
141-
142-
# Returns:
143-
`PxlObject`
144-
"""
145-
body = {
146-
'images': images
147-
}
148-
return await self._get_img('ganimal', body)
149-
150135
async def ajit(self, images:List[str]) -> PxlObject:
151136
"""
152137
Overlays an image of Ajit Pai snacking on some popcorn

0 commit comments

Comments
 (0)