mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
docs: fix typos (#5989)
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user