|
@@ -10,12 +10,14 @@ import cv2 |
|
|
import ephem # type: ignore |
|
|
import ephem # type: ignore |
|
|
import pygame |
|
|
import pygame |
|
|
import pygame.gfxdraw |
|
|
import pygame.gfxdraw |
|
|
|
|
|
import pytchat |
|
|
from cv2 import VideoCapture |
|
|
from cv2 import VideoCapture |
|
|
from ephem import Moon, Observer, Sun # type: ignore |
|
|
from ephem import Moon, Observer, Sun # type: ignore |
|
|
from pygame import Rect, Surface |
|
|
from pygame import Rect, Surface |
|
|
from pygame.font import Font |
|
|
from pygame.font import Font |
|
|
from pygame.mixer import Sound |
|
|
from pygame.mixer import Sound |
|
|
from pygame.time import Clock |
|
|
from pygame.time import Clock |
|
|
|
|
|
from pytchat.core.pytchat import PytchatCore |
|
|
|
|
|
|
|
|
from common_module import CommonModule |
|
|
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) |
|
|
USER_FONT = pygame.font.SysFont ('notosanscjkjp', 32, italic = True) |
|
|
DEERJIKA_FONT = pygame.font.SysFont ('07nikumarufont', 50) |
|
|
DEERJIKA_FONT = pygame.font.SysFont ('07nikumarufont', 50) |
|
|
|
|
|
|
|
|
|
|
|
PYTCHAT = pytchat.create (os.environ['BROADCAST_CODE']) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main ( |
|
|
def main ( |
|
|
) -> None: |
|
|
) -> None: |
|
|