docs: fix typos (#5989)

Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
Lioness100
2023-02-13 21:36:09 -05:00
committed by GitHub
parent 9811e4e871
commit a89a27cadf
28 changed files with 43 additions and 43 deletions

View File

@@ -14,7 +14,7 @@ from .utils import AsyncIter
class PrefixManager:
def __init__(self, config: Config, cli_flags: Namespace):
self._config: Config = config
self._global_prefix_overide: Optional[List[str]] = (
self._global_prefix_override: Optional[List[str]] = (
sorted(cli_flags.prefix, reverse=True) or None
)
self._cached: Dict[Optional[int], List[str]] = {}
@@ -32,7 +32,7 @@ class PrefixManager:
if not ret:
ret = await self.get_prefixes(None)
else:
ret = self._global_prefix_overide or (await self._config.prefix())
ret = self._global_prefix_override or (await self._config.prefix())
self._cached[gid] = ret.copy()