Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cogs/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(self, help_type: str, *, style: ButtonStyle, custom_id: str):

async def create_help_thread(self, interaction: Interaction) -> Thread:
thread = await interaction.channel.create_thread(
name=f"{self._help_type} help ({interaction.user})",
name=f"{self._help_type} help ({interaction.user.name})",
type=ChannelType.public_thread,
)

Expand Down Expand Up @@ -385,7 +385,7 @@ async def transfer(self, ctx, *, new_author: Member):
first_thread_message = (await ctx.channel.history(limit=1, oldest_first=True).flatten())[0]
old_author = first_thread_message.mentions[0]

await ctx.channel.edit(name=f"{topic} ({new_author})")
await ctx.channel.edit(name=f"{topic} ({new_author.name})")
await first_thread_message.edit(content=new_author.mention)
# Send log
embed_log = Embed(
Expand Down