Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Mar 19, 2024
2 parents d253ccc + 2434e3b commit 2062415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boostutils/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 2062415

Please sign in to comment.