Skip to content

Commit bea5528

Browse files
authored
fix: show the correct user who opened the thread (#39)
1 parent 29e4f8e commit bea5528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bot/src/util/handleThreadManagement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export async function openThread(
105105
},
106106
{
107107
name: i18next.t('thread.start.embed.fields.opened_by'),
108-
value: user.toString(),
108+
value: isMessage ? input.author.toString() : input.user.toString(),
109109
inline: true,
110110
},
111111
{

0 commit comments

Comments
 (0)