mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3 Launcher] fix issue with instance removal via launcher (#1535)
* handle issue * or it would have if I had put it on the right line * no more making patches from my phone
This commit is contained in:
parent
fb8e4430ac
commit
afe4af0dc2
@ -4,6 +4,7 @@ import platform
|
|||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
|
import asyncio
|
||||||
|
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
from redbot.setup import basic_setup, load_existing_config, remove_instance
|
from redbot.setup import basic_setup, load_existing_config, remove_instance
|
||||||
@ -319,7 +320,7 @@ def main_menu():
|
|||||||
basic_setup()
|
basic_setup()
|
||||||
wait()
|
wait()
|
||||||
elif choice == "6":
|
elif choice == "6":
|
||||||
remove_instance()
|
asyncio.get_event_loop().run_until_complete(remove_instance())
|
||||||
wait()
|
wait()
|
||||||
elif choice == "7":
|
elif choice == "7":
|
||||||
debug_info()
|
debug_info()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user