Skip to content

Commit

Permalink
fix: failing lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
Skelmis committed Jul 24, 2023
1 parent 07e2a63 commit de554df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions antispam/libs/dpy.py
Expand Up @@ -468,9 +468,7 @@ async def timeout_member(
f"Tried timing out Member(id={member.id}) in Guild(id={member.guild.id})"
)

await member.timeout(
until, reason="Automated timeout from Discord-Anti-Spam"
)
await member.timeout(until, reason="Automated timeout from Discord-Anti-Spam")

async def is_member_currently_timed_out(self, member) -> bool:
return member.timed_out_until is not None
Expand Down

0 comments on commit de554df

Please sign in to comment.