From 0172eae91e2a11b7da6f0ef8e781e4c826630c47 Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Sat, 21 Jul 2018 21:59:43 +0800 Subject: [PATCH] Adjust comment --- none/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/none/__init__.py b/none/__init__.py index 081cddd6..279743c4 100644 --- a/none/__init__.py +++ b/none/__init__.py @@ -71,6 +71,9 @@ def get_bot() -> NoneBot: """ Get the NoneBot instance. + The result is ensured to be not None, otherwise an exception will + be raised. + :raise ValueError: instance not initialized """ if _bot is None: