Skip to content

Commit

Permalink
das
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisfiregamer1 committed Nov 7, 2023
1 parent ea7e131 commit c02c524
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,16 @@ client.on("messageCreate", async (message) => {
2000,
);

let i = 0;
let cvalue = 0;

messagechunks.forEach(async (chunk) => {
if (i <= 0) {
await msg.edit(chunk);
i++;
messagechunks.forEach((chunk) => {
console.log(cvalue)

if (cvalue === 0) {
cvalue = 1;
msg.edit(chunk);
} else {
await message.reply(chunk);
message.reply(chunk);
}
});
} catch (err) {
Expand Down

0 comments on commit c02c524

Please sign in to comment.