D
D
DefaultCR2021-02-02 21:17:21
Node.js
DefaultCR, 2021-02-02 21:17:21

How to make a reward for being in voice channels?

How to make a function that will give out the internal currency of the server for finding use in voice channels?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-02-02
@vabka

You take the difference between the user entering the channel and disconnecting from the channel and calculate from this how much currency you want to give out.
Then you add this amount to the account that the user has now.
Save the result.
Or do you want the code to be written for you here?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question