From 021b4c53f98388c19403e4a85798cb3a785ea2eb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 1 Aug 2019 15:54:11 +0200 Subject: [PATCH] ShareRadio shouldn't use a db --- royalnet/shareradio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/shareradio.py b/royalnet/shareradio.py index 9c559668..02335ed6 100644 --- a/royalnet/shareradio.py +++ b/royalnet/shareradio.py @@ -31,13 +31,13 @@ loop.run_until_complete(master.start()) print("Starting bots...") ds_bot = DiscordBot(discord_config=DiscordConfig(os.environ["DS_AK"]), royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]), - database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Discord, "discord_id"), + database_config=None, commands=commands, error_command=ErrorHandlerCommand, missing_command=MissingCommand) tg_bot = TelegramBot(telegram_config=TelegramConfig(os.environ["TG_AK"]), royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]), - database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Telegram, "tg_id"), + database_config=None, commands=commands, error_command=ErrorHandlerCommand, missing_command=MissingCommand)