Skip to content

Commit

Permalink
Use count +1 for clean to account for interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
MattBSG committed Jan 25, 2025
1 parent 654cb8c commit 01bd18d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ async def _clean(

userList = None if not deleteUsers else [x.id for x in deleteUsers]

count += 1 # We want to account for the command message adding one.
def message_filter(message):
return True if not userList or message.author.id in userList else False

Expand Down

0 comments on commit 01bd18d

Please sign in to comment.