diff --git a/botbase/__init__.py b/botbase/__init__.py index 44d71a1..592d36f 100644 --- a/botbase/__init__.py +++ b/botbase/__init__.py @@ -15,7 +15,7 @@ ) from .models import CogBase -__version__ = "1.17.6" +__version__ = "1.17.7" getLogger(__name__).addHandler(NullHandler()) diff --git a/botbase/wraps/wrap.py b/botbase/wraps/wrap.py index 6c579f4..107938c 100644 --- a/botbase/wraps/wrap.py +++ b/botbase/wraps/wrap.py @@ -140,7 +140,7 @@ async def send_embed( if isinstance(target.channel, channels): return await target.channel.send(embed=embed, **kwargs) else: - return await target.send(embed=embed, **kwargs) + return await target.send(embed=embed, **kwargs) # type: ignore elif isinstance( target, ( @@ -149,8 +149,9 @@ async def send_embed( WrappedChannel, WrappedThread, MyInter, + MyContext, ), ): - return await target.send(embed=embed, **kwargs) + return await target.send(embed=embed, **kwargs) # type: ignore else: raise TypeError(f"{type(self).__name__} cannot send embeds") diff --git a/pyproject.toml b/pyproject.toml index 7361520..dd389d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ooliver-botbase" -version = "1.17.6" +version = "1.17.7" description = "A personal nextcord bot base package for bots." authors = ["ooliver1 "] license = "MIT"