remove unncessecary while loop condiiton

This commit is contained in:
Your Name 2023-01-31 13:04:21 +02:00
parent 73694d7e43
commit 52a080e493
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ client.on("PRIVMSG", async (msg) => {
case "fill":
let str = "";
while (str.length < 500) {
while (true) {
if (str.length + splitted[2].length >= 450) break;
str += `${splitted[2]} `;
}