Add a way to get a random guild member. #3679
Unanswered
Koyamie
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 3 replies
-
I honestly don't really see this becoming a feature, however if I may give a suggestion: I think your best way of achieving this would be to pick a random date between when the guild was created and the current date, using that to generate a (nonexistent) user ID and then using that in the fetch guild members endpoint as either a 'before' or 'after' option. It's not perfect (especially for guilds with growth spikes) but I suspect it's the closest you'll be able to get without fetching the entire member list. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, this is an idea I came up after migrating some of my commands to slash commands.
I am using webhooks interactions and do not have a cache to works with and some of my commands provide a "random" option to pick up a random guild member (often related to social interactions and fun commands).
Could it be possible to have a parameter when fetching/listing/searching guild members so that we can retrieve a random one?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions