mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 09:35:02 +00:00
use user.tag
This commit is contained in:
parent
7cec20bb1e
commit
fbe8c8f9c7
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export const StartThreadAction = automodAction({
|
||||||
msg: savedMessageToTemplateSafeSavedMessage(c.message!),
|
msg: savedMessageToTemplateSafeSavedMessage(c.message!),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
const threadName = await renderThreadName(actionConfig.name ?? "{user.username}#{user.discriminator}s thread");
|
const threadName = await renderThreadName(actionConfig.name ?? "{user.tag}s thread");
|
||||||
const thread = await channel.threads
|
const thread = await channel.threads
|
||||||
.create({
|
.create({
|
||||||
name: threadName,
|
name: threadName,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue