diff --git a/cogs/tools.py b/cogs/tools.py index 7e446f7..826460e 100644 --- a/cogs/tools.py +++ b/cogs/tools.py @@ -282,14 +282,13 @@ async def server_info(self, ctx): if owner.nick == None: owner.nick = owner.name creation = guild.created_at - region = str(guild.region) try: - region = region.split("-") + region = str(guild.region).split("-") region[0] = region[0].upper() region[1] = region[1].capitalize() region = " ".join(region) except: - region = region.capitalize() + region = region[0].capitalize() jsoninfo = str( dumps( {