S
S
sqtr2020-01-03 17:15:07
Node.js
sqtr, 2020-01-03 17:15:07

How to make the issuance of a role for the duration of Discord.js?

Is it possible to make the bot give out a certain role for a while.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-01-03
@sqtr

<member>.roles.add(role)

setTimeout(() => {
    <member>.roles.remove(role)
}, время_в_миллисекундах)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question