1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

wow srsly

This commit is contained in:
Steffo 2019-05-07 02:01:05 +02:00
parent 91dba0d64f
commit 4d13ef47f5
2 changed files with 3 additions and 3 deletions

View file

@ -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"]

View file

@ -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,