Keep track of commands users run, like a counter.

How would i collect the amount of times a user runs a command, and add it to like a collection where it can later be displayed on an info embed for how many commands the user has run?
4 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Roman Beard
Roman BeardOP2y ago
#######:\Users\Roman\OneDrive\Desktop\##
├─┬ discord-gamecord@2.1.0
│ └── discord.js@13.16.0
├─┬ discord-giveaways@5.2.2
│ └── discord.js@14.13.0 deduped
├─┬ discord-pagination-advanced@1.1.9
│ └── discord.js@13.16.0
└── discord.js@14.13.0
#######:\Users\Roman\OneDrive\Desktop\##
├─┬ discord-gamecord@2.1.0
│ └── discord.js@13.16.0
├─┬ discord-giveaways@5.2.2
│ └── discord.js@14.13.0 deduped
├─┬ discord-pagination-advanced@1.1.9
│ └── discord.js@13.16.0
└── discord.js@14.13.0
Node version: v18.18.1
treble/luna
treble/luna2y ago
first of all uninstall the packages using 13.16 and second, store it in a database
Roman Beard
Roman BeardOP2y ago
alright

Did you find this page helpful?