1
1
1Sh0t2020-12-06 00:13:37
Node.js
1Sh0t, 2020-12-06 00:13:37

How to check in a team?

How to check in a team. There is a file premium.json
It says
Id of the person - true

The person can use this command. What code should be written in the command so that it checks this file and sees if a person has access to the command or not. Also, if the person's id is not in this file, then he will not be able to use this command.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Uno, 2020-12-07
@Noizefan

Sincerely, explaining the essence of the cost of an hour of a specialist:
Unfortunately, this does not work.
If you don't know how, you either learn and know how, or pay someone who can.
With an application for banter:
Open the file, do a check, if you have access - you allow it, if not - you forbid it
With everyday passive aggression:
Are you banned in Google?
As if sad, but to calm my conscience, I found the link and threw it off:
https://stackoverflow.com/questions/17449133/how-c... Cleverly
:
*ignore and go to sleep*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question