mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-03 00:53:12 +00:00
[Fix] Linting and formatting via Ruff
This commit is contained in:
parent
eeba748e66
commit
e680f02bdc
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from loguru import logger
|
|||
class Ping(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot) -> None:
|
||||
self.bot = bot
|
||||
|
||||
|
||||
@app_commands.command(name="ping", description="Checks the bot's latency.")
|
||||
async def ping(self, interaction: discord.Interaction) -> None:
|
||||
discord_ping = round(self.bot.latency * 1000)
|
||||
|
|
Loading…
Reference in a new issue