aboutsummaryrefslogtreecommitdiffstats
path: root/botcore/__init__.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-03-23 21:39:43 +0000
committerGravatar Chris Lovering <[email protected]>2022-03-24 08:25:16 +0000
commit8bd3706994843b31900975825e19aec35641e92d (patch)
treea94f618f5cb836c367fb0dd84ac4b4bd05903941 /botcore/__init__.py
parentAdd async_stats subclass of statsd (diff)
Add BotBase that will act as a base for all our bots
This commit also modifies the extensions util, since it's now directly used by bot-core. Co-authored-by: Mark <[email protected]> Co-authored-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'botcore/__init__.py')
-rw-r--r--botcore/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/botcore/__init__.py b/botcore/__init__.py
index 59081e57..f0c4e6bb 100644
--- a/botcore/__init__.py
+++ b/botcore/__init__.py
@@ -1,12 +1,15 @@
"""Useful utilities and tools for Discord bot development."""
from botcore import async_stats, exts, site_api, utils
+from botcore._bot import BotBase, StartupError
__all__ = [
async_stats,
+ BotBase,
exts,
utils,
site_api,
+ StartupError,
]
__all__ = list(map(lambda module: module.__name__, __all__))