From 24296c2ae4c081bfda26968a22670f12c5a19023 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Thu, 6 Jun 2024 23:01:08 -0400 Subject: [PATCH] Update the prompt with the proper discord tag for the member ID --- discordBot/events/guildMemberAdd.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordBot/events/guildMemberAdd.mjs b/discordBot/events/guildMemberAdd.mjs index d31d798..2d7c562 100644 --- a/discordBot/events/guildMemberAdd.mjs +++ b/discordBot/events/guildMemberAdd.mjs @@ -14,7 +14,7 @@ export async function execute(nodeIo, member) { let conversation = []; conversation.push({ role: 'system', - content: `There has been a new user that joined. Their name is '${member.id}'. Please welcome them to the server and remind them about the rules.` + content: `There has been a new user that joined. Their name is '<@${member.id}>'. Please welcome them to the server and remind them about the rules.` }) const response = await gptHandler(conversation);