yes
This commit is contained in:
parent
4701f500c8
commit
387019ab57
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue