discord bot integration

This commit is contained in:
imayushsaini 2021-12-29 13:23:22 +05:30
parent 9e3e1af8e0
commit 76054b7c26
475 changed files with 182966 additions and 16 deletions

View file

@ -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()