Replies: 1 comment 5 replies
-
Hello. There is no "native" way of doing this, you'll have better luck iterating through history until your quote gets met, wouldn't recommend this due to it being subjected to ratelimits. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I'm using
channel.purge(limit=10, check=check)
and my check is that:But that only searches in 10 messages, but I want to delete 10 messages that fulfill my check. There should be no limit to searching through - How can I do that and what would be the best way for it?
Beta Was this translation helpful? Give feedback.
All reactions