diff --git a/src/event-handler.ts b/src/event-handler.ts index c3d9f6c..c4d78b1 100644 --- a/src/event-handler.ts +++ b/src/event-handler.ts @@ -306,10 +306,10 @@ export const defaultEventHandler: EventHandler = async (event) => { const maxLength = commands.reduce((p, e) => e.name.length > p ? e.name.length : p, 0); const paddedLength = maxLength + padding; - const data = commands.map((с) => - ` ${с.name.padEnd(paddedLength)}${ + const data = commands.map((c) => + ` ${c.name.padEnd(paddedLength)}${ (() => { - const desc = с.shortDesc ?? с.desc; + const desc = c.shortDesc ?? c.desc; if (!desc?.length) return '';