mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-05-04 16:02:51 -04:00
Simplify bot class (Red) __init__ arguments, remove unused (#6714)
This commit is contained in:
+2
-2
@@ -281,7 +281,7 @@ def early_exit_runner(
|
||||
return
|
||||
|
||||
data_manager.load_basic_configuration(cli_flags.instance_name)
|
||||
red = Red(cli_flags=cli_flags, description="Red V3", dm_help=None)
|
||||
red = Red(cli_flags=cli_flags)
|
||||
driver_cls = _drivers.get_driver_class()
|
||||
loop.run_until_complete(driver_cls.initialize(**data_manager.storage_details()))
|
||||
loop.run_until_complete(func(red, cli_flags))
|
||||
@@ -494,7 +494,7 @@ def main():
|
||||
|
||||
data_manager.load_basic_configuration(cli_flags.instance_name)
|
||||
|
||||
red = Red(cli_flags=cli_flags, description="Red V3", dm_help=None)
|
||||
red = Red(cli_flags=cli_flags)
|
||||
|
||||
if os.name != "nt":
|
||||
# None of this works on windows.
|
||||
|
||||
Reference in New Issue
Block a user