Skip to content

Commit

Permalink
[Cosmetic change] Fixed cyrillic c used as variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukairo-02 committed Aug 13, 2024
1 parent a2faec8 commit 6f233fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/event-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit 6f233fe

Please sign in to comment.