[Docs] Adds self recommendation to cog_data_path (#2539)

This change adds the help text of "If calling from a command or method of your cog, this should be self." from `bundled_data_path` to `cog_data_path`. This bit of text can help people who are unsure of what a "cog instance" is to understand how to use `cog_data_path`.
This commit is contained in:
Flame442 2019-04-02 22:24:20 -04:00 committed by Will
parent de7d08ee75
commit 14a2f98418

View File

@ -113,6 +113,7 @@ def cog_data_path(cog_instance=None, raw_name: str = None) -> Path:
----------
cog_instance
The instance of the cog you wish to get a data path for.
If calling from a command or method of your cog, this should be ``self``.
raw_name : str
The name of the cog to get a data path for.