#Get Guild Owner without guild members intent

1 messages · Page 1 of 1 (latest)

icy cloud
#

Hello, how can I get the Guild Owner without the guild members intent? guild.owner returns None in some cases. ty c:

maiden heron
#

Not possible.

#

You NEED the intents.

#

You also need to enable them both in the Developer Portal, but also within the code.

#

A very simple way to do this is:

intents = discord.Intents.all()
bot = ...(intents=intents)
icy cloud
maiden heron
#

no.

#

why on earth would you want to NOT enable intents?

#

it saves so much time in the long run

maiden heron
icy cloud
icy cloud
#

I could get the name via id then, right?

maiden heron
#

No. Again. You need the intent to get the name from the id

#

Just enable the intent...

icy cloud
icy cloud
open karma
#

I believe you can just use that id within fetch_user() to retrieve the owner's username

icy cloud
#

thanks