aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2019-11-19 09:28:10 +0100
committerGravatar GitHub <[email protected]>2019-11-19 09:28:10 +0100
commit173c5c256307b088165d6f3070336056fa673f8f (patch)
tree256b4f424351bb6e808f6a642ebb4172f5a8147a
parentUse a context manager for the buffer (diff)
Re-indent arguments
-rw-r--r--bot/cogs/moderation/modlog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/moderation/modlog.py b/bot/cogs/moderation/modlog.py
index 3c6731de6..945d7822b 100644
--- a/bot/cogs/moderation/modlog.py
+++ b/bot/cogs/moderation/modlog.py
@@ -119,9 +119,9 @@ class ModLog(Cog, name="ModLog"):
return await self.bot.get_context(log_message) # Optionally return for use with antispam
async def reupload_attachments(
- self,
- message: discord.Message,
- channel_id: int = GuildConstant.attachment_repost
+ self,
+ message: discord.Message,
+ channel_id: int = GuildConstant.attachment_repost
) -> t.List[str]:
"""Re-upload message's attachments to the the channel_id and return the list of re-posted attachments URLs."""
channel = self.bot.get_channel(channel_id)