mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
asdasd
This commit is contained in:
parent
278478249b
commit
355817a972
1 changed files with 3 additions and 2 deletions
5
bots.py
5
bots.py
|
@ -8,8 +8,9 @@ import logging
|
||||||
import coloredlogs
|
import coloredlogs
|
||||||
|
|
||||||
logging.getLogger().setLevel(level=logging.ERROR)
|
logging.getLogger().setLevel(level=logging.ERROR)
|
||||||
logging.getLogger(__name__).setLevel(level=logging.DEBUG)
|
logger = logging.getLogger(__name__)
|
||||||
coloredlogs.install(level="DEBUG")
|
logger.setLevel(level=logging.DEBUG)
|
||||||
|
coloredlogs.install(level="DEBUG", logger=logger)
|
||||||
|
|
||||||
discord_telegram_pipe = multiprocessing.Pipe()
|
discord_telegram_pipe = multiprocessing.Pipe()
|
||||||
discord = multiprocessing.Process(target=discordbot.process, args=(discord_telegram_pipe[0],), daemon=True)
|
discord = multiprocessing.Process(target=discordbot.process, args=(discord_telegram_pipe[0],), daemon=True)
|
||||||
|
|
Loading…
Reference in a new issue