From 0aabe5492386bffc1e246100cb55448bbac521ec Mon Sep 17 00:00:00 2001 From: Kile Date: Mon, 11 Oct 2021 23:23:15 +0100 Subject: [PATCH] Deprecating ganimal --- README.md | 2 +- pyproject.toml | 2 +- pypxl/__init__.py | 2 +- pypxl/client.py | 15 --------------- 4 files changed, 3 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 1e99566..7400851 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ glitch = await pxl.glitch(images=["https://cdn.discordapp.com/avatars/6061626611 # Docs 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) -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) +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) For questions and suggestions, join my discord server or dm me (`Kile#0606`) diff --git a/pyproject.toml b/pyproject.toml index 7f607c6..8c92503 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "pypxl" -version = "0.2.2" +version = "0.2.3" description = "An Asynchronos API wrapper for https://pxlapi.dev" license = "MIT" readme = "README.md" diff --git a/pypxl/__init__.py b/pypxl/__init__.py index 89b906f..a85aabb 100644 --- a/pypxl/__init__.py +++ b/pypxl/__init__.py @@ -9,6 +9,6 @@ __author__ = "Kile" __license__ = "MIT" __copyright__ = "Copyright 2021 Kile" -__version__ = "0.2.2" +__version__ = "0.2.3" from .client import PxlClient \ No newline at end of file diff --git a/pypxl/client.py b/pypxl/client.py index 1476749..9d7ee68 100644 --- a/pypxl/client.py +++ b/pypxl/client.py @@ -132,21 +132,6 @@ async def flag(self, flag:str, images:List[str], opacity:int=128) -> PxlObject: } return await self._get_img(f'flag/{flag.lower()}', body) - async def ganimal(self, images:List[str]) -> PxlObject: - """ - Turns the provided images into images with animal faces - - # Parameters: - `images (list)`: The images to proccess - - # Returns: - `PxlObject` - """ - body = { - 'images': images - } - return await self._get_img('ganimal', body) - async def ajit(self, images:List[str]) -> PxlObject: """ Overlays an image of Ajit Pai snacking on some popcorn