aboutsummaryrefslogtreecommitdiff
path: root/pindelegate
diff options
context:
space:
mode:
Diffstat (limited to 'pindelegate')
-rw-r--r--pindelegate/pindelegate.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pindelegate/pindelegate.py b/pindelegate/pindelegate.py
index 3d3b7ea..94d5425 100644
--- a/pindelegate/pindelegate.py
+++ b/pindelegate/pindelegate.py
@@ -61,7 +61,9 @@ class PinDelegate(commands.Cog):
Pin the replied-to message.
"""
if await self.is_pin_capable(ctx.channel, ctx.author.id):
- await ctx.message.reference.resolved.pin(reason=f"On behalf of {ctx.author.name}")
+ await ctx.message.reference.resolved.pin(
+ reason=f"On behalf of {ctx.author.name}"
+ )
@commands.command()
async def unpin(self, ctx):