Skip to content

Commit

Permalink
fix: default rate to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
navels committed Aug 16, 2024
1 parent 69155db commit ae595ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack_cleaner2/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _args() -> Any:
parser.add_argument("--quiet", action="store_true", help="Run quietly, does not log messages deleted")

# Rate limit
parser.add_argument("--rate", type=float, help="Delay between API calls (in seconds)")
parser.add_argument("--rate", type=float, help="Delay between API calls (in seconds)", default=0)

# user
parser.add_argument("--as_user", action="store_true", help="Pass true to delete the message as the authed user. Bot users in this context are considered authed users.")
Expand Down

0 comments on commit ae595ff

Please sign in to comment.