Skip to content

Commit

Permalink
Fix: do not lower args on create
Browse files Browse the repository at this point in the history
  • Loading branch information
papey committed Jun 9, 2020
1 parent 008251f commit bb96d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/tnmt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ async function handleJoin(
client,
config,
TournamentInterfaces.tournamentStateEnum.PENDING
);
);
// init display name
const member = origin.guild.members.cache.get(origin.author.id);
// fallback to username if no displayName
Expand Down Expand Up @@ -589,7 +589,7 @@ async function handleCreate(
}

// parse args
const args = parseArgs(cmd.args, true);
const args = parseArgs(cmd.args);
// ensure args requirements
if (args.length < Arguments["handleCreate"]) {
origin.channel.send(
Expand Down

0 comments on commit bb96d2a

Please sign in to comment.