Skip to content

Commit

Permalink
feat: merge branch 'dev' into stage (#30)
Browse files Browse the repository at this point in the history
* feat: response improvement stat command (#23)

* fix: naming conventions and indentation (#25)

* feat: update container action (#27)

* fix: incorrect stat count (#29)

---------

Co-authored-by: Esteve Autet Alexe <[email protected]>
  • Loading branch information
alexcraviotto and stifskere authored Mar 23, 2024
1 parent cfbcf97 commit 57f03a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/slash/SetupStats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default new SlashCommand({
}

const totalMembers = guild.memberCount
await guild.members.fetch();
const totalUsers = guild.members.cache.filter(member => !member.user.bot).size
const totalBots = guild.members.cache.filter(member => member.user.bot).size

Expand Down

0 comments on commit 57f03a4

Please sign in to comment.