From c146b01cec772ca57e29eeacf84d5660dfaf1149 Mon Sep 17 00:00:00 2001 From: Slipstream Date: Thu, 12 Jun 2025 21:27:37 -0600 Subject: [PATCH] fix: declare public exports (#75) --- disagreement/__init__.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/disagreement/__init__.py b/disagreement/__init__.py index f6e17a5..34c044c 100644 --- a/disagreement/__init__.py +++ b/disagreement/__init__.py @@ -38,6 +38,35 @@ from .logging_config import setup_logging import logging +__all__ = [ + "Client", + "AutoShardedClient", + "Message", + "User", + "Reaction", + "AuditLogEntry", + "VoiceClient", + "AudioSource", + "FFmpegAudioSource", + "Typing", + "DisagreementException", + "HTTPException", + "GatewayException", + "AuthenticationError", + "Forbidden", + "NotFound", + "Color", + "utcnow", + "message_pager", + "GatewayIntent", + "GatewayOpcode", + "setup_global_error_handler", + "HybridContext", + "tasks", + "setup_logging", +] + + # Configure a default logger if none has been configured yet if not logging.getLogger().hasHandlers(): setup_logging(logging.INFO)