Skip to content

Commit

Permalink
nevermind
Browse files Browse the repository at this point in the history
  • Loading branch information
Ideal-Void committed Sep 3, 2021
1 parent 42df433 commit 994e402
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cogs/tools.py
Original file line number Diff line number Diff line change
@@ -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(
{

0 comments on commit 994e402

Please sign in to comment.