|
@@ -5,6 +5,7 @@ import pytchat |
|
|
import time |
|
|
import time |
|
|
import random |
|
|
import random |
|
|
from talk import Talk |
|
|
from talk import Talk |
|
|
|
|
|
import subprocess |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
YOUTUBE_ID: str = 'aq3QwuYz-KU' |
|
|
YOUTUBE_ID: str = 'aq3QwuYz-KU' |
|
@@ -22,9 +23,9 @@ class Main: |
|
|
|
|
|
|
|
|
live_chat = pytchat.create (video_id = YOUTUBE_ID) |
|
|
live_chat = pytchat.create (video_id = YOUTUBE_ID) |
|
|
|
|
|
|
|
|
user_font = pygame.font.SysFont ('notosansjpregular', 32, |
|
|
|
|
|
|
|
|
user_font = pygame.font.SysFont ('notosanscjkjp', 32, |
|
|
italic = True) |
|
|
italic = True) |
|
|
nizika_font = pygame.font.SysFont ('07にくまるフォント', 50) |
|
|
|
|
|
|
|
|
nizika_font = pygame.font.SysFont ('07nikumarufont', 50) |
|
|
|
|
|
|
|
|
while (True): |
|
|
while (True): |
|
|
screen.fill ((0, 255, 0)) |
|
|
screen.fill ((0, 255, 0)) |
|
@@ -46,6 +47,10 @@ class Main: |
|
|
|
|
|
|
|
|
noon.play () |
|
|
noon.play () |
|
|
|
|
|
|
|
|
|
|
|
# subprocess.run (r'wine .\') |
|
|
|
|
|
|
|
|
|
|
|
time.sleep (10) |
|
|
|
|
|
|
|
|
pygame.display.update () |
|
|
pygame.display.update () |
|
|
|
|
|
|
|
|
for event in pygame.event.get (): |
|
|
for event in pygame.event.get (): |
|
@@ -53,7 +58,6 @@ class Main: |
|
|
pygame.quit () |
|
|
pygame.quit () |
|
|
sys.exit () |
|
|
sys.exit () |
|
|
|
|
|
|
|
|
time.sleep (10) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
if __name__ == '__main__': |
|
|
Main.main () |
|
|
Main.main () |
|
|