Z
Z
zog3n2020-05-31 20:33:36
Python
zog3n, 2020-05-31 20:33:36

How to make the bot give the roles to olds of the channel?

I want to make a bot that will automatically issue the "OLD" role if a person has been on the server for 6 months,
but I don't know how to implement it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Soneiko, 2020-06-01
@Soneiko

I advise you to make a lvl system, and there, after receiving, for example, level 20, a role for "OLDOV" is issued.
Well, or if you want to do it exactly on time, then create a file that will be written to when the user logged in and their ID. And the rest through a function that will check when half a year has passed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question