Skip to content

Commit b62b431

Browse files
committed
oops
1 parent 6c2231e commit b62b431

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

jg/chick/lib/threads.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,5 @@ async def ensure_thread_name(thread: discord.Thread, name_template) -> str | Non
7979

8080
async def add_members_with_role(thread: discord.Thread, role_id: int) -> None:
8181
"""Adds members of given role to given thread"""
82-
message = await thread.send(
83-
f"<@&{role_id}>",
84-
silent=True,
85-
allowed_mentions=discord.AllowedMentions.none(),
86-
)
82+
message = await thread.send(f"<@&{role_id}>", silent=True)
8783
await message.delete()

0 commit comments

Comments
 (0)