diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6cd7edd --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "nizika_ai"] + path = nizika_ai + url = https://git.miteruzo.com/miteruzo/nizika_ai diff --git a/nizika_ai b/nizika_ai new file mode 160000 index 0000000..3ca5f7c --- /dev/null +++ b/nizika_ai @@ -0,0 +1 @@ +Subproject commit 3ca5f7c83f5f23ece55de18d626aca3f4648502b diff --git a/test.py b/test.py index 29747dc..0fc6a08 100644 --- a/test.py +++ b/test.py @@ -10,12 +10,14 @@ import cv2 import ephem # type: ignore import pygame import pygame.gfxdraw +import pytchat from cv2 import VideoCapture from ephem import Moon, Observer, Sun # type: ignore from pygame import Rect, Surface from pygame.font import Font from pygame.mixer import Sound from pygame.time import Clock +from pytchat.core.pytchat import PytchatCore from common_module import CommonModule @@ -27,6 +29,8 @@ SYSTEM_FONT = pygame.font.SysFont ('notosanscjkjp', 24, bold = True) USER_FONT = pygame.font.SysFont ('notosanscjkjp', 32, italic = True) DEERJIKA_FONT = pygame.font.SysFont ('07nikumarufont', 50) +PYTCHAT = pytchat.create (os.environ['BROADCAST_CODE']) + def main ( ) -> None: