From 9c376c3db9e30c0f0d8cf465847d1ffa745fdc1e Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 21 Dec 2023 18:17:10 +0530 Subject: question_of_the_day: add command qotd post --- pindelegate/pindelegate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pindelegate') 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): -- cgit v1.2.3-57-g22cb