diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-12-21 12:47:10 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-12-21 12:47:10 +0000 |
commit | 9c376c3db9e30c0f0d8cf465847d1ffa745fdc1e (patch) | |
tree | d3eab408579dfa28bfa286eb2f896210034eec18 /pindelegate | |
parent | cd88508f33c77c3018b0ed74d0813c9e2751bf4d (diff) | |
download | aps-cogs-9c376c3db9e30c0f0d8cf465847d1ffa745fdc1e.tar aps-cogs-9c376c3db9e30c0f0d8cf465847d1ffa745fdc1e.tar.gz aps-cogs-9c376c3db9e30c0f0d8cf465847d1ffa745fdc1e.zip |
question_of_the_day: add command qotd post
Diffstat (limited to 'pindelegate')
-rw-r--r-- | pindelegate/pindelegate.py | 4 |
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): |