chore: ruff formatting

This commit is contained in:
neoarz
2025-11-02 23:32:52 -05:00
parent 2ce2c69a87
commit 1eff6c9f53
91 changed files with 3824 additions and 2518 deletions

View File

@@ -1,6 +1,7 @@
import discord
from discord.ext import commands
def ping_command():
@commands.hybrid_command(
name="ping",
@@ -12,7 +13,9 @@ def ping_command():
description=f"The bot latency is {round(self.bot.latency * 1000)}ms.",
color=0x7289DA,
)
embed.set_author(name="Ping", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
embed.set_author(
name="Ping", icon_url="https://yes.nighty.works/raw/gSxqzV.png"
)
if getattr(context, "interaction", None):
inter = context.interaction
if not inter.response.is_done():
@@ -21,5 +24,5 @@ def ping_command():
await inter.followup.send(embed=embed, ephemeral=False)
else:
await context.send(embed=embed)
return ping