Skip to content

Commit 10083f4

Browse files
fix: add requests library import to admin and category helpers
- Included the `requests` library in both `admin.py` and `category_helpers.py` to facilitate HTTP requests
1 parent 64bf0bf commit 10083f4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/gitcord/cogs/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import shutil
1414
from urllib.parse import urlparse
1515
import re
16+
import requests
1617

1718
from .base_cog import BaseCog
1819
from ..utils.helpers import (

src/gitcord/utils/category_helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
from .helpers import create_embed, parse_channel_config
1111
from .logger import main_logger as logger
1212

13+
import requests
14+
1315

1416
@dataclass
1517
class CategoryResult:

0 commit comments

Comments
 (0)