D
D
DmitrNy ---2019-10-05 22:04:14
JavaScript
DmitrNy ---, 2019-10-05 22:04:14

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

3 answer(s)
L
La1serg, 2018-06-22
@La1serg

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

M
Mors Clamor, 2019-10-06
@66demon666

Database.

V
vkulik79, 2019-11-05
@vkulik79

sqlite 3 look

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question