You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bulk delete messages within a channel. If a `predicate` is provided, it will be used to determine which messages to delete, otherwise all messages will be deleted within the `deletion_limit`.
414
415
@@ -424,6 +425,7 @@ async def purge(
424
425
search_limit: How many messages to search through
425
426
predicate: A function that returns True or False, and takes a message as an argument
426
427
avoid_loading_msg: Should the bot attempt to avoid deleting its own loading messages (recommended enabled)
428
+
return_messages: Should the bot return the messages that were deleted
0 commit comments