fix(arabot): incremented i in for loop for restriction number to start at 1

This commit is contained in:
smyalygames 2023-02-20 01:29:45 +00:00
parent dbd25b796b
commit ced9851574

View File

@ -218,7 +218,7 @@ export class RestrictLogsCommand extends Command {
} }
} }
let restTitle = `Restriction: ${i} | Restricted by: ${restMod} | `; let restTitle = `Restriction: ${i + 1} | Restricted by: ${restMod} | `;
if (endRestMod !== null) { if (endRestMod !== null) {
restTitle += `Unrestricted by: ${endRestMod} | `; restTitle += `Unrestricted by: ${endRestMod} | `;