diff --git a/index.js b/index.js index fea0be4..9f85ba0 100644 --- a/index.js +++ b/index.js @@ -45,7 +45,9 @@ client.on(Events.MessageCreate, async interaction => { sessions[id].stdout.on('data', (chunk) => { if (chunk.toString().length > 1) { - interaction.channel.send(chunk.toString()); + let str = chunk.toString(); + str = str.replaceAll(id,`<@${id}>`) + interaction.channel.send(str.toString()); } }); sessions[id].on('close', () => {