Update the prompt with the proper discord tag for the member ID
All checks were successful
release-tag / release-image (push) Successful in 3m3s
DRB Tests / drb_mocha_tests (push) Successful in 1m6s

This commit is contained in:
Logan Cusano
2024-06-06 23:01:08 -04:00
parent db065c3ef0
commit 24296c2ae4

View File

@@ -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);