1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

ShareRadio shouldn't use a db

This commit is contained in:
Steffo 2019-08-01 15:54:11 +02:00
parent c75469f4a4
commit 021b4c53f9

View file

@ -31,13 +31,13 @@ loop.run_until_complete(master.start())
print("Starting bots...") print("Starting bots...")
ds_bot = DiscordBot(discord_config=DiscordConfig(os.environ["DS_AK"]), ds_bot = DiscordBot(discord_config=DiscordConfig(os.environ["DS_AK"]),
royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]), 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, commands=commands,
error_command=ErrorHandlerCommand, error_command=ErrorHandlerCommand,
missing_command=MissingCommand) missing_command=MissingCommand)
tg_bot = TelegramBot(telegram_config=TelegramConfig(os.environ["TG_AK"]), tg_bot = TelegramBot(telegram_config=TelegramConfig(os.environ["TG_AK"]),
royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]), 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, commands=commands,
error_command=ErrorHandlerCommand, error_command=ErrorHandlerCommand,
missing_command=MissingCommand) missing_command=MissingCommand)