Initialisation du repository de Beta

This commit is contained in:
Mathis 2026-02-06 22:23:20 +01:00
commit 14985f6dbb
9469 changed files with 1903273 additions and 0 deletions

9
commandes/autres/ping.py Normal file
View file

@ -0,0 +1,9 @@
import discord
import time
async def execute(bot, params, message):
start = time.perf_counter()
temp_msg = await message.channel.send("Pong!")
end = time.perf_counter()
latency = round((end - start) * 1000) # ms
await temp_msg.edit(content=f"Pong! Latence : {latency}ms\nLatence API : {round(bot.latency * 1000)}ms")