Skip to content

Commit 952dc3e

Browse files
TizzySaurusChrisLovering
authored andcommitted
Rename pydis_core/utils/errors.py to pydis_core/utils/error_handling.py
1 parent 3b657eb commit 952dc3e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pydis_core/utils/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Useful utilities and tools for Discord bot development."""
22

33
from pydis_core.utils import (
4-
_monkey_patches, caching, channel, commands, cooldown, function, interactions, logging, members, paste_service,
5-
regex, scheduling
4+
_monkey_patches, caching, channel, commands, cooldown, error_handling, function, interactions, logging, members,
5+
paste_service, regex, scheduling
66
)
77
from pydis_core.utils._extensions import unqualify
88

@@ -29,6 +29,7 @@ def apply_monkey_patches() -> None:
2929
channel,
3030
commands,
3131
cooldown,
32+
error_handling,
3233
function,
3334
interactions,
3435
logging,
File renamed without changes.

pydis_core/utils/scheduling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from discord.errors import Forbidden
1212

1313
from pydis_core.utils import logging
14-
from pydis_core.utils.errors import handle_forbidden_from_block
14+
from pydis_core.utils.error_handling import handle_forbidden_from_block
1515

1616
_background_tasks: set[asyncio.Task] = set()
1717

0 commit comments

Comments
 (0)