[Docs] Fix imports in Config (#1015)

This commit is contained in:
Will 2017-10-15 20:13:25 -04:00 committed by GitHub
parent 4ddd576315
commit d9a63b45d4

View File

@ -17,7 +17,7 @@ Basic Usage
.. code-block:: python .. code-block:: python
from core import Config from redbot.core import Config
class MyCog: class MyCog:
def __init__(self): def __init__(self):
@ -43,7 +43,7 @@ First, you need to import Config:
.. code-block:: python .. code-block:: python
from core import Config from redbot.core import Config
Then, in the class's :code:`__init__` function, you need to get a config instance: Then, in the class's :code:`__init__` function, you need to get a config instance: