diff options
| author | 2019-12-03 15:38:33 -0800 | |
|---|---|---|
| committer | 2019-12-03 15:38:33 -0800 | |
| commit | 17cedcb89b7b009fab68f3b1d39e968ace0a7c91 (patch) | |
| tree | 718ac2c1d9f3b1f5e61f9ec50c98ec5b9c99eb4d | |
| parent | Merge branch 'master' into #549-show-attachments-staff (diff) | |
ModLog: use more generic type annotations
| -rw-r--r-- | bot/cogs/moderation/modlog.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/cogs/moderation/modlog.py b/bot/cogs/moderation/modlog.py index 9251b79fb..6fffa7170 100644 --- a/bot/cogs/moderation/modlog.py +++ b/bot/cogs/moderation/modlog.py @@ -35,10 +35,10 @@ class ModLog(Cog, name="ModLog"): self._cached_edits = [] async def upload_log( - self, - messages: t.List[discord.Message], - actor_id: int, - attachments: t.List[t.List[str]] = None + self, + messages: t.Iterable[discord.Message], + actor_id: int, + attachments: t.Iterable[t.List[str]] = None ) -> str: """ Uploads the log data to the database via an API endpoint for uploading logs. |