kfei / slack-cleaner

:speech_balloon: Bulk delete messages and files on Slack
MIT License
1.24k stars 144 forks source link

rate argument only accepts integers #49

Open millardjk opened 7 years ago

millardjk commented 7 years ago

The underlying python time.sleep() method accepts a float, giving you more resolution that 1s. However, the argument was typed as int, so sub-second rates (eg, 0.5 or 0.2) which may be slow enough for the API while still being significantly faster than 1s cannot be utilized.

neiaberau commented 7 years ago

well actually It looks to me, as this this has already been addressed: https://github.com/kfei/slack-cleaner/pull/37

however, as there is no activity by the orignal developers, meaning pull requests are ignored, the source has not been changed to include this, you will have to do it by yourself