aboutsummaryrefslogtreecommitdiffstats
path: root/botcore/utils/extensions.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-02-22 21:27:35 +0000
committerGravatar Chris Lovering <[email protected]>2022-02-24 20:07:37 +0000
commit953e255becbb1ba3daac96f07f2841d820ca931e (patch)
tree15a52572b346c23249fe6a8529e7e4ca4fc98fc6 /botcore/utils/extensions.py
parentAdd disnake monkey patches (diff)
Migrate to using disnake over Discord.py 2.0a0
Diffstat (limited to 'botcore/utils/extensions.py')
-rw-r--r--botcore/utils/extensions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/botcore/utils/extensions.py b/botcore/utils/extensions.py
index 3f8d6e6d..053a58dc 100644
--- a/botcore/utils/extensions.py
+++ b/botcore/utils/extensions.py
@@ -1,4 +1,4 @@
-"""Utilities for loading discord extensions."""
+"""Utilities for loading Discord extensions."""
import importlib
import inspect
@@ -28,7 +28,7 @@ def walk_extensions(module: types.ModuleType) -> frozenset[str]:
module (types.ModuleType): The module to look for extensions in.
Returns:
- A set of strings that can be passed directly to :obj:`discord.ext.commands.Bot.load_extension`.
+ A set of strings that can be passed directly to :obj:`disnake.ext.commands.Bot.load_extension`.
"""
def on_error(name: str) -> NoReturn: