diff --git a/boostutils/events.py b/boostutils/events.py index 9e2a709..0a3e1a1 100644 --- a/boostutils/events.py +++ b/boostutils/events.py @@ -37,7 +37,7 @@ async def on_member_boost(self, member: discord.Member) -> None: guild: discord.Guild = member.guild channels: List[int] = await self.config.guild(guild).boost_message.channels() # type: ignore message: str = await self.config.guild(guild).boost_message.boosted() # type: ignore - toggle: bool = await self.config.guild(guild).boost_message.toggle() # type: ignore + toggle: bool = await self.config.guild(guild).boost_message.toggle() # type: ignore if not toggle: return kwargs: Dict[str, Any] = process_tagscript( @@ -66,7 +66,7 @@ async def on_member_unboost(self, member: discord.Member) -> None: guild: discord.Guild = member.guild channels: List[int] = await self.config.guild(guild).boost_message.channels() # type: ignore message: str = await self.config.guild(guild).boost_message.unboosted() # type: ignore - toggle: bool = await self.config.guild(guild).boost_message.toggle() # type: ignore + toggle: bool = await self.config.guild(guild).boost_message.toggle() # type: ignore if not toggle: return kwargs: Dict[str, Any] = process_tagscript(