Fix typos in doc string. (#4360)

This commit is contained in:
Stonedestroyer 2020-09-01 00:53:25 +02:00 committed by GitHub
parent 2bf9c1260c
commit f81cf5960f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -320,7 +320,7 @@ class RedBase(
Parameters
----------
cog_name: str
This should be the cog's qualified name, not neccessarily the classname
This should be the cog's qualified name, not necessarily the classname
guild_id: int
Returns

View File

@ -320,7 +320,7 @@ class DisabledCogCache:
Parameters
----------
cog_name: str
This should be the cog's qualified name, not neccessarily the classname
This should be the cog's qualified name, not necessarily the classname
guild_id: int
Returns
@ -347,7 +347,7 @@ class DisabledCogCache:
Parameters
----------
cog_name: str
This should be the cog's qualified name, not neccessarily the classname
This should be the cog's qualified name, not necessarily the classname
"""
await self._config.custom("COG_DISABLE_SETTINGS", cog_name, 0).disabled.set(True)
del self._disable_map[cog_name]
@ -359,7 +359,7 @@ class DisabledCogCache:
Parameters
----------
cog_name: str
This should be the cog's qualified name, not neccessarily the classname
This should be the cog's qualified name, not necessarily the classname
"""
await self._config.custom("COG_DISABLE_SETTINGS", cog_name, 0).disabled.clear()
del self._disable_map[cog_name]
@ -371,7 +371,7 @@ class DisabledCogCache:
Parameters
----------
cog_name: str
This should be the cog's qualified name, not neccessarily the classname
This should be the cog's qualified name, not necessarily the classname
guild_id: int
Returns
@ -395,7 +395,7 @@ class DisabledCogCache:
Parameters
----------
cog_name: str
This should be the cog's qualified name, not neccessarily the classname
This should be the cog's qualified name, not necessarily the classname
guild_id: int
Returns