Change nickname to a random number every 5 seconds #47
whyisthesheep
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Good job! Here are some advice:
Here is the fixed version {
id()
const min = 100000
const max = 999999
var loop = true
while (loop) {
const number = Math.floor(Math.random() * (max - min) + min)
await api.changeNick(gid, number)
await delay(5000)
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a script to do what the title says (bear in mind idk JavaScript, so sorry if my code is bad 💀)
I have tested this and it works, feedback would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions