In discord.js v12, message.guild.owner
works but in discord.js v13, interaction.guild.owner
does not work. How do I get owner of guild? I don't see interaction.guild.owner
in docs. Anybody can help?
The Guild.fetchOwner
method fetches the owner from the API and always returns the owner.
//...
let owner = await interaction.guild.fetchOwner()
console.log(owner)
//...
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments