[Core] Add redbot --edit cli flag (replacement for [p]set owner&token) (#3060)

* feat(core): add `redbot --edit` cli flag

* chore(changelog): add towncrier entries

* refactor(core): clean up `redbot --edit`, few fixes

* fix(core): prepare for review

* chore(changelog): update towncrier entry to use double ticks :p

* style(black): ugh, Sinbad's git hook isn't perfect (using worktrees)

* fix: Address Flame's first review
This commit is contained in:
jack1142
2019-11-08 18:07:33 +01:00
committed by Michael H
parent 078210b54c
commit 1651de1305
7 changed files with 252 additions and 80 deletions

View File

@@ -264,7 +264,7 @@ async def reset_red():
print("Cancelling...")
return
if confirm("\nDo you want to create a backup for an instance? (y/n) "):
if confirm("\nDo you want to create a backup for an instance?"):
for index, instance in instances.items():
print("\nRemoving {}...".format(index))
await create_backup(index)