From a4f787184fa46838d62e072e078181ec2d27bc9a Mon Sep 17 00:00:00 2001 From: squiddy Date: Thu, 25 Jan 2024 02:12:24 +0800 Subject: [PATCH] remove the bot subfolder --- bot/src/{bot => }/cogs/__init__.py | 0 bot/src/{bot => }/cogs/cache.py | 0 bot/src/{bot => }/cogs/github_auth.py | 0 bot/src/{bot => }/cogs/json_cache.py | 0 bot/src/{bot => }/cogs/member_management.py | 0 bot/src/{bot => }/cogs/ms_auth.py | 0 bot/src/{bot => }/cogs/nick.py | 0 bot/src/{bot => }/cogs/projects.py | 0 bot/src/{bot => }/cogs/ui_helper.py | 0 bot/src/main.py | 2 +- bot/src/utils/access_control_decorators.py | 2 +- 11 files changed, 2 insertions(+), 2 deletions(-) rename bot/src/{bot => }/cogs/__init__.py (100%) rename bot/src/{bot => }/cogs/cache.py (100%) rename bot/src/{bot => }/cogs/github_auth.py (100%) rename bot/src/{bot => }/cogs/json_cache.py (100%) rename bot/src/{bot => }/cogs/member_management.py (100%) rename bot/src/{bot => }/cogs/ms_auth.py (100%) rename bot/src/{bot => }/cogs/nick.py (100%) rename bot/src/{bot => }/cogs/projects.py (100%) rename bot/src/{bot => }/cogs/ui_helper.py (100%) diff --git a/bot/src/bot/cogs/__init__.py b/bot/src/cogs/__init__.py similarity index 100% rename from bot/src/bot/cogs/__init__.py rename to bot/src/cogs/__init__.py diff --git a/bot/src/bot/cogs/cache.py b/bot/src/cogs/cache.py similarity index 100% rename from bot/src/bot/cogs/cache.py rename to bot/src/cogs/cache.py diff --git a/bot/src/bot/cogs/github_auth.py b/bot/src/cogs/github_auth.py similarity index 100% rename from bot/src/bot/cogs/github_auth.py rename to bot/src/cogs/github_auth.py diff --git a/bot/src/bot/cogs/json_cache.py b/bot/src/cogs/json_cache.py similarity index 100% rename from bot/src/bot/cogs/json_cache.py rename to bot/src/cogs/json_cache.py diff --git a/bot/src/bot/cogs/member_management.py b/bot/src/cogs/member_management.py similarity index 100% rename from bot/src/bot/cogs/member_management.py rename to bot/src/cogs/member_management.py diff --git a/bot/src/bot/cogs/ms_auth.py b/bot/src/cogs/ms_auth.py similarity index 100% rename from bot/src/bot/cogs/ms_auth.py rename to bot/src/cogs/ms_auth.py diff --git a/bot/src/bot/cogs/nick.py b/bot/src/cogs/nick.py similarity index 100% rename from bot/src/bot/cogs/nick.py rename to bot/src/cogs/nick.py diff --git a/bot/src/bot/cogs/projects.py b/bot/src/cogs/projects.py similarity index 100% rename from bot/src/bot/cogs/projects.py rename to bot/src/cogs/projects.py diff --git a/bot/src/bot/cogs/ui_helper.py b/bot/src/cogs/ui_helper.py similarity index 100% rename from bot/src/bot/cogs/ui_helper.py rename to bot/src/cogs/ui_helper.py diff --git a/bot/src/main.py b/bot/src/main.py index 430fb50..3434f50 100644 --- a/bot/src/main.py +++ b/bot/src/main.py @@ -1,7 +1,7 @@ import logging import uvloop -from bot.cogs import ( +from cogs import ( Cache, GithubAuth, JSONCache, diff --git a/bot/src/utils/access_control_decorators.py b/bot/src/utils/access_control_decorators.py index 68f0687..ff15607 100644 --- a/bot/src/utils/access_control_decorators.py +++ b/bot/src/utils/access_control_decorators.py @@ -1,6 +1,6 @@ from typing import Callable -from bot.cogs.cache import Cache +from cogs.cache import Cache from config import config from nextcord import ( ApplicationCheckFailure,