mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
wow srsly
This commit is contained in:
parent
91dba0d64f
commit
4d13ef47f5
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
from . import audio, bots, commands, database, network, utils, error
|
from . import audio, bots, commands, database, network, utils, error
|
||||||
|
|
||||||
version = "5.0a6"
|
version = "5.0a7"
|
||||||
|
|
||||||
__all__ = ["audio", "bots", "commands", "database", "network", "utils", "error"]
|
__all__ = ["audio", "bots", "commands", "database", "network", "utils", "error"]
|
||||||
|
|
|
@ -30,13 +30,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}", "sas"),
|
royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]),
|
||||||
database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Discord, "discord_id"),
|
database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Discord, "discord_id"),
|
||||||
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}", "sas"),
|
royalnet_config=RoyalnetConfig(f"ws://{address}:{port}", os.environ["MASTER_KEY"]),
|
||||||
database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Telegram, "tg_id"),
|
database_config=DatabaseConfig(os.environ["DB_PATH"], Royal, Telegram, "tg_id"),
|
||||||
commands=commands,
|
commands=commands,
|
||||||
error_command=ErrorHandlerCommand,
|
error_command=ErrorHandlerCommand,
|
||||||
|
|
Loading…
Reference in a new issue