Random question but no repeats

Asked Nov 28, 2023·3 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.

I'm not sure if this is possible but I'm wondering if there is a way to have a like i guess pastebin of a bunch of questions and it randomly selects one. But if it gets selected then it deletes it from being a possibility. So a question doesn't repeat.
And if there is a way to have it store already selected questions.
I've looked at some of the past stuff and can't find anything that deletes and stores.
Thanks

3 replies

This requires additional logic that can't be created via Pastebin alone. In a simple sense you'd need to maintain a list and delete one item from the list every time a entry is retrieved. This would require programming and systems knowledge outside of the scope of Nightbot alone.

I agree with @member It would most likely need a CustomAPI. Personally, I could do it but it would not be a 5 minute job. It would take several hours and a website to host it on.

Ahh, ok. Sounds good. Just wondering. I'll stick with a simple random question thing instead. Thanks