diff --git a/CHANGES/1468.feature.rst b/CHANGES/1468.feature.rst new file mode 100644 index 00000000..de78716c --- /dev/null +++ b/CHANGES/1468.feature.rst @@ -0,0 +1,13 @@ +Added context manager interface to Bot instance, from now you can use: + +.. code-block:: python + + async with Bot(...) as bot: + ... + +instead of + +.. code-block:: python + + async with Bot(...).context(): + ...