Browse Source

縁追加

btc-sounds
みてるぞ 1 year ago
parent
commit
4d38bc1926
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      main.py

+ 7
- 0
main.py View File

@@ -26,6 +26,8 @@ class Main:
live_chat = pytchat.create (video_id = YOUTUBE_ID)

system_font = pygame.font.SysFont ('notosanscjkjp', 24)
system_font_outline = pygame.font.SysFont ('notosanscjkjp', 24,
bold = True)
user_font = pygame.font.SysFont ('notosanscjkjp', 32,
italic = True)
nizika_font = pygame.font.SysFont ('07nikumarufont', 50)
@@ -64,6 +66,11 @@ class Main:

time.sleep (10)

screen.blit (
system_font_outline.render (
f'live_chat.is_alive () == {live_chat.is_alive ()}',
True, (255, 255, 255)),
(0, 0))
screen.blit (
system_font.render (
f'live_chat.is_alive () == {live_chat.is_alive ()}',


Loading…
Cancel
Save