mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Core] Fix missing `await in code of redbot --edit`. (#3256)
* Update __main__.py * Create 3256.misc.rst
This commit is contained in:
parent
ec6877dbc6
commit
42e3f73088
1
changelog.d/3256.misc.rst
Normal file
1
changelog.d/3256.misc.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix missing ``await`` in code of ``redbot --edit``.
|
||||||
@ -282,7 +282,7 @@ async def run_bot(red: Red, cli_flags: Namespace):
|
|||||||
|
|
||||||
if cli_flags.edit:
|
if cli_flags.edit:
|
||||||
try:
|
try:
|
||||||
edit_instance(red, cli_flags)
|
await edit_instance(red, cli_flags)
|
||||||
except (KeyboardInterrupt, EOFError):
|
except (KeyboardInterrupt, EOFError):
|
||||||
print("Aborted!")
|
print("Aborted!")
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user