1
Fork 0
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:
electron271 2024-03-30 00:16:53 +00:00 committed by github-actions[bot]
parent eeba748e66
commit e680f02bdc

View file

@ -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)