hMMM
This commit is contained in:
parent
23d989cd59
commit
34ae082235
2
index.js
2
index.js
|
@ -151,7 +151,7 @@ client.on('messageCreate', async (message) => {
|
||||||
if (output.content.endsWith("!!!TERM1234!!!")) { // This can allow a self-termination command
|
if (output.content.endsWith("!!!TERM1234!!!")) { // This can allow a self-termination command
|
||||||
output.content = output.content.replace("!!!TERM1234!!!", "");
|
output.content = output.content.replace("!!!TERM1234!!!", "");
|
||||||
clearInterval(typing);
|
clearInterval(typing);
|
||||||
message.channel.send(output.content);
|
if (output.content.length != 0) message.channel.send(output.content);
|
||||||
resetSession(message.channelId);
|
resetSession(message.channelId);
|
||||||
return message.channel.send(lang.terminated);
|
return message.channel.send(lang.terminated);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue