3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 01:25:02 +00:00

use user.tag

This commit is contained in:
metal 2021-09-04 19:01:55 +00:00 committed by GitHub
parent 7cec20bb1e
commit fbe8c8f9c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ export const StartThreadAction = automodAction({
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
.create({
name: threadName,