From 4d13ef47f5c003b0105624a3aebb508177859364 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 7 May 2019 02:01:05 +0200 Subject: [PATCH] wow srsly --- royalnet/__init__.py | 2 +- royalnet/royalgames.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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,