mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
discord bot integration
This commit is contained in:
parent
9e3e1af8e0
commit
76054b7c26
475 changed files with 182966 additions and 16 deletions
9
dist/ba_root/mods/custom_hooks.py
vendored
9
dist/ba_root/mods/custom_hooks.py
vendored
|
|
@ -68,6 +68,15 @@ def bootstraping():
|
|||
|
||||
if settings["whitelist"]:
|
||||
pdata.loadWhitelist()
|
||||
if settings["discordbot"]["enable"]:
|
||||
from tools import discordbot
|
||||
discordbot.token=settings["discordbot"]["token"]
|
||||
discordbot.liveStatsChannelID=settings["discordbot"]["liveStatsChannelID"]
|
||||
discordbot.logsChannelID=settings["discordbot"]["logsChannelID"]
|
||||
discordbot.liveChat=settings["discordbot"]["liveChat"]
|
||||
discordbot.BsDataThread()
|
||||
discordbot.init()
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue