This commit is contained in:
biglyderv 2025-03-28 02:47:24 -04:00
parent 4701f500c8
commit 387019ab57
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

View file

@ -46,8 +46,8 @@ client.on(Events.MessageCreate, async interaction => {
sessions[id].stdout.on('data', (chunk) => {
if (chunk.toString().length > 1) {
let str = chunk.toString();
str = str.replaceAll(id,`<@${id}>`)
interaction.channel.send(str.toString());
str = str.replaceAll(id,`<@${id}>`);
interaction.channel.send(str);
}
});
sessions[id].on('close', () => {