#interaction
1 messages · Page 1 of 1 (latest)
And how to get a user by id? (sorry for my English)
await guild.fetch_user(id)
oh it's bot.fetch_user
but there is guild.fetch_user
https://docs.pycord.dev/en/master/api.html?highlight=guild#discord.Guild.fetch_member
Thanks attached the final code
yeah guild.fetch_member worked fine for me
can you just do guild = interaction.guild?
what is that 9086... guild?
you can also do member = discord.utils.get(guild.members, id=user_id)
My server for the city for minecraft. Created in 2021(Russian speaking)