Update the prompt with the proper discord tag for the member ID
This commit is contained in:
@@ -14,7 +14,7 @@ export async function execute(nodeIo, member) {
|
|||||||
let conversation = [];
|
let conversation = [];
|
||||||
conversation.push({
|
conversation.push({
|
||||||
role: 'system',
|
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);
|
const response = await gptHandler(conversation);
|
||||||
|
|||||||
Reference in New Issue
Block a user