diff --git a/Pipfile.lock b/Pipfile.lock index 90f3272..750c984 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -132,12 +132,12 @@ }, "aiosu": { "hashes": [ - "sha256:2c9a74e93ac108070e4f593e8c9f2f1d8873157c6fdddd5162e043e7e7bef54f", - "sha256:fb4a815495d957fcf4e0d64a90cacd642e982587b50bb5a7762b8d15f3794bba" + "sha256:81718e91c0cf87b653243bb25427e5b345b03674b6869f1709f5c34433955622", + "sha256:e4687e9a979e02ad2e6124377f9019e69f1ce343c29ba0c9e5d7a1bad9eba393" ], "index": "pypi", "markers": "python_version >= '3.9' and python_version < '4.0'", - "version": "==2.1.7" + "version": "==2.1.8" }, "annotated-types": { "hashes": [ diff --git a/src/cogs/images.py b/src/cogs/images.py index 5549ffb..052a53c 100644 --- a/src/cogs/images.py +++ b/src/cogs/images.py @@ -36,7 +36,7 @@ def __init__(self, bot: Sunny) -> None: async def avatar_command( self, interaction: discord.Interaction, - user: discord.Member | None, + user: discord.User | None, avatar_type: Literal["guild", "profile"] = "profile", ) -> None: if user is None: @@ -89,7 +89,7 @@ async def wink_command(self, interaction: discord.Interaction) -> None: async def pat_command( self, interaction: discord.Interaction, - user: discord.Member | None, + user: discord.User | None, ) -> None: async with aiohttp.ClientSession() as cs: async with cs.get("https://some-random-api.com/animu/pat") as r: @@ -107,7 +107,7 @@ async def pat_command( async def hug_command( self, interaction: discord.Interaction, - user: discord.Member | None, + user: discord.User | None, ) -> None: async with aiohttp.ClientSession() as cs: async with cs.get("https://some-random-api.com/animu/hug") as r: