diff --git a/changelog.d/3256.misc.rst b/changelog.d/3256.misc.rst new file mode 100644 index 000000000..79c3cab5a --- /dev/null +++ b/changelog.d/3256.misc.rst @@ -0,0 +1 @@ +Fix missing ``await`` in code of ``redbot --edit``. diff --git a/redbot/__main__.py b/redbot/__main__.py index 2fe86a3a9..e8519fa46 100644 --- a/redbot/__main__.py +++ b/redbot/__main__.py @@ -282,7 +282,7 @@ async def run_bot(red: Red, cli_flags: Namespace): if cli_flags.edit: try: - edit_instance(red, cli_flags) + await edit_instance(red, cli_flags) except (KeyboardInterrupt, EOFError): print("Aborted!") finally: