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 = [];
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user