#How can I remove bots and myself on a slash command (select user)?
1 messages · Page 1 of 1 (latest)
you could use an autocomplete to return a list of specific users
but then it's up to you to convert them to proper member objects
Here's the slash autocomplete example.
the autocomplete function returns a list
so lets say you have players which is a list of discord.Member, you could return [str(m) for m in players]
but that would make the variable as a string, so you might find it better to use OptionChoice so you can set the ID separately... all in all it's messy but it works