This commit is contained in:
Christopher Cookman 2023-08-31 22:40:13 -06:00
parent 1b9ea5afed
commit f274c6b92c
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -262,7 +262,7 @@ dcClient.on('ready', async () => {
logMsg = msg;
});
sendLog = async (message) => {
if(curMsg.length + message.length < 2000) {
if (curMsg.length + message.length < 2000) {
curMsg = `${curMsg}\n${message}`;
await logMsg.edit(`\`\`\`ansi\n${curMsg}\`\`\``);
} else {