Update
This commit is contained in:
parent
02b5137ec6
commit
0c4b941da3
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ class threadsummary(commands.Cog):
|
|||
@commands.Cog.listener('on_thread_create')
|
||||
async def threadupdatehandler(self, thread: nextcord.Thread):
|
||||
pins = await thread.parent.pins()
|
||||
print(pins, file=sys.stderr)
|
||||
for t in pins:
|
||||
if t.author.id == self.bot.application_id and t.content.split("\n")[0] == f"Active threads in {thread.parent.jump_url}":
|
||||
message = f"Active threads in {thread.parent.jump_url}\n"
|
||||
|
|
Loading…
Reference in a new issue