From fbe8c8f9c7e29201f4bf2cfa41beac0114efbc27 Mon Sep 17 00:00:00 2001 From: metal Date: Sat, 4 Sep 2021 19:01:55 +0000 Subject: [PATCH] use user.tag --- backend/src/plugins/Automod/actions/startThread.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Automod/actions/startThread.ts b/backend/src/plugins/Automod/actions/startThread.ts index f1428628..cb97a6a8 100644 --- a/backend/src/plugins/Automod/actions/startThread.ts +++ b/backend/src/plugins/Automod/actions/startThread.ts @@ -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,