mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-05-26 08:44:23 -04:00
Ensure that instance names are treated as positional args (#6780)
This commit is contained in:
@@ -169,11 +169,12 @@ async def call(
|
||||
"redbot._update",
|
||||
*debug_args,
|
||||
CMD_NAME,
|
||||
instance_name,
|
||||
arg_names.RED_VERSION,
|
||||
str(red_version),
|
||||
arg_names.PYTHON_VERSION,
|
||||
str(python_version),
|
||||
"--",
|
||||
instance_name,
|
||||
]
|
||||
if ignore_prefix:
|
||||
args.append(arg_names.CHECK_OTHER_PYTHON_INSTALLS)
|
||||
|
||||
@@ -393,6 +393,7 @@ async def _call_cog_update(instance_name: str, *, update_repos: bool) -> Tuple[i
|
||||
"redbot._update.internal",
|
||||
*debug_args,
|
||||
_UPDATE_COGS_CMD_NAME,
|
||||
"--",
|
||||
instance_name,
|
||||
]
|
||||
if update_repos:
|
||||
|
||||
@@ -653,6 +653,7 @@ class Updater:
|
||||
"redbot.setup",
|
||||
"backup",
|
||||
*debug_args,
|
||||
"--",
|
||||
instance_name,
|
||||
str(instance_backups_dir),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user