Skip to content

Commit

Permalink
Update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed May 15, 2019
1 parent 8300145 commit e6f8d35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ bot.on("message", async (message) => {
}

// Update message mentions
message.mentions.members = message.mentions.members.filter(m => !m.user.bot);
message.member.users = message.mentions.users.filter(u => !u.bot);
message.mentions.members = message.mentions.members.filter((m) => !m.user.bot);
message.member.users = message.mentions.users.filter((u) => !u.bot);

// If the message content is "/pay @Androz 10", the args will be : [ "pay", "@Androz", "10" ]
const args = message.content.slice(config.prefix.length).trim().split(/ +/g);
Expand Down

0 comments on commit e6f8d35

Please sign in to comment.