Skip to content

Commit

Permalink
removed more shorthand expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
wartoshika committed Nov 18, 2018
1 parent b6fb5b1 commit 25ae9ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/net/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export class Network {
return data.match(`.{1,${payloadLength}`).map(match => {
return {
data: {
identifierLength,
identifier,
identifierLength: identifierLength,
identifier: identifier,
dataLength: match.length,
data: match
}
Expand Down
2 changes: 1 addition & 1 deletion src/slash/SlashCommandRegistar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class SlashCommandRegistar {

// update registered
this.registeredCommandStack.currentCommands.push({
handler,
handler: handler,
commands: slashName
});

Expand Down

0 comments on commit 25ae9ac

Please sign in to comment.