Answer the question
In order to leave comments, you need to log in
Bot on Discord.py. How to save user data?
It is necessary to make it so that the bot on discord.py, when a user enters a certain command, adds to this user, or the user he mentioned, +1 unit of something (for example, the command>Rep @Nick_Person - adds to the value of a specific user who was mentioned , + 1 reputation How to implement this I once found how to do it, but when I tried to implement it, I got only a bunch of errors from the compiler.
Answer the question
In order to leave comments, you need to log in
1. You didn't show how you included js in your page. Maybe you have a connection error?
2. Your for loop doesn't run because link doesn't have a length property - https://developer.mozilla.org/en/docs/Web/API/Element
3. Why do you declare index outside of the loop?
4. Read up on the difference between post-decrement and prefix-decrement
5. Read up on what this is
6. Use fresh js tutorials
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question