Fix get_owner -> fetch_owner

This commit is contained in:
Zeva Rose 2022-03-08 07:55:44 -07:00
parent 0b3c2e7121
commit caa94b0312

View file

@ -219,7 +219,7 @@ class UtilCog(Scale):
async def _server_info(self, ctx: InteractionContext) -> None: async def _server_info(self, ctx: InteractionContext) -> None:
guild: Guild = ctx.guild guild: Guild = ctx.guild
owner = await guild.get_owner() owner = await guild.fetch_owner()
owner = f"{owner.username}#{owner.discriminator}" if owner else "||`[redacted]`||" owner = f"{owner.username}#{owner.discriminator}" if owner else "||`[redacted]`||"