Skip to content

Commit

Permalink
chore(commands.ping): fix newEmbed func
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeeraa committed Dec 12, 2024
1 parent 969e8d8 commit a450171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from arc import GatewayContext, slash_command

from helpers.embed import new_embed
from helpers.embed import newEmbed
from instances.bot import bot
from instances.log import logger

Expand Down Expand Up @@ -45,7 +45,7 @@ async def ping(ctx: GatewayContext) -> None:
latency = round(bot.heartbeat_latency * 1000) if bot.heartbeat_latency else "Unavailable"

await ctx.respond(
embed=new_embed(
embed=newEmbed(
ctx,
title="🏓 Network details",
description=(f"- 🌍 Server Geo: {country}, {region}\n" f"- ⏳ Latency: {latency}ms"),
Expand Down

0 comments on commit a450171

Please sign in to comment.