diff options
| author | 2021-04-16 07:10:48 +0200 | |
|---|---|---|
| committer | 2021-04-16 07:10:48 +0200 | |
| commit | 5bf42c7d3c4927dae2a130a95d83295db746338d (patch) | |
| tree | 34ace14cf5a465b13aefe2239e04e820354a04a6 | |
| parent | replace lambda with list in defaultdict (diff) | |
Use correct kwarg for channel.history
| -rw-r--r-- | bot/exts/utils/clean.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/clean.py b/bot/exts/utils/clean.py index be92c4994..d0abd6784 100644 --- a/bot/exts/utils/clean.py +++ b/bot/exts/utils/clean.py @@ -84,7 +84,7 @@ class Clean(Cog): for channel in channels: - async for message in channel.history(amount=amount): + async for message in channel.history(limit=amount): if not self.cleaning: # Cleaning was canceled |