diff --git a/royalnet/__init__.py b/royalnet/__init__.py index fcda301b..773fc2e6 100644 --- a/royalnet/__init__.py +++ b/royalnet/__init__.py @@ -1,5 +1,5 @@ from . import audio, bots, commands, database, network, utils, error -version = "5.0a6" +version = "5.0a7" __all__ = ["audio", "bots", "commands", "database", "network", "utils", "error"] diff --git a/royalnet/royalgames.py b/royalnet/royalgames.py index c44408de..f6175bf9 100644 --- a/royalnet/royalgames.py +++ b/royalnet/royalgames.py @@ -30,13 +30,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}", "sas"), + royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]), database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Discord, "discord_id"), 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}", "sas"), + royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]), database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Telegram, "tg_id"), commands=commands, error_command=ErrorHandlerCommand,