X
X
xpyctofficial2020-08-09 16:59:28
Node.js
xpyctofficial, 2020-08-09 16:59:28

Discord.js how to add serving servers?

My bot is written in such a way that all warnings, levels, coins, experience are recorded in the profile.json file , I would like a new profile to be created for each participant on each server. My guess from the discord:
Well, I suspect how to do it
guilds.json
Record servers there
and refer the participant to server
A from guilds.json write directly to profile.json
although who knows

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-08-09
@Alexandre888

well, write down the server id, participant id and its parameters (coins, level . . .) in profile .json
, but it’s better to connect the database, it will be much easier and more convenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question