Guess a random number command

Asked Dec 29, 2023·2 replies·Last activity 2 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Okay, so I can't find any forum posts or ideas of how on earth I could do this, but basically, I am looking to make a random number guess command, where users could use "!guess [number here]" then after 5 or so minutes, it will make a list of all the guesses where I could find the closest to the number.

If anyone has any ideas, please let me know!

2 replies

u don't want the bot to know the number and automatically tell them if they got it right?... or maybe even if they r close to correct or not?

Hey @Bubbly Rhino!

If you want the number to guess to be randomly generated after each correct guess, the only way I could see that being done is through a custom API of your own that you'd need to code, because Nightbot doesn't have memory unless it's hard-written in the command and then it can't automatically be updated.