From 2b717f3663eac84fe703dc5ff935790db0cc45fa Mon Sep 17 00:00:00 2001 From: "scoopala7.tngl.sh" Date: Sat, 13 Jun 2026 19:51:17 -0700 Subject: [PATCH] Rename ping cog to utils cog, and update other files accordingly. --- README.md | 2 +- cogs/{ping.py => utils.py} | 0 main.py | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename cogs/{ping.py => utils.py} (100%) diff --git a/README.md b/README.md index e0d8f8f..8d3bde6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Byte has a couple commands right now, which will be expanded eventually. The lis - Decide: decides any yes or no question for you! - RPS: Rock paper scissors! -### Ping +### Utils - Ping: Pong! ## Credits diff --git a/cogs/ping.py b/cogs/utils.py similarity index 100% rename from cogs/ping.py rename to cogs/utils.py diff --git a/main.py b/main.py index 13306ac..904c225 100644 --- a/main.py +++ b/main.py @@ -7,11 +7,11 @@ import contextlib import aiohttp import discohook from starlette.responses import JSONResponse -from cogs.ping import ping_command +from cogs.utils import ping_command from cogs.fun import dice_command, decide_command, rps_command def run(): - + # Lifespan can also be used to async setup .session and .db attributes # https://www.starlette.io/lifespan @contextlib.asynccontextmanager -- 2.51.2