Browse Source

ダブル・モード,ちょっと修正

othello
みてるぞ 7 months ago
parent
commit
9fa218badf
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      main.py

+ 6
- 5
main.py View File

@@ -203,13 +203,14 @@ class Main:


screen.fill ((0, 255, 0)) screen.fill ((0, 255, 0))


chat_item.author['name'] = 'ゴートうひとり' if goatoh_talking else '伊地知ニジカ'
chat_item.author['id'] = ''
chat_item.author['channelId'] = './favicon-goatoh.ico' if goatoh_talking else './favicon.ico'
chat_item.author = {'name': 'ゴートうひとり' if goatoh_talking else '伊地知ニジカ',
'id': '',
'imageUrl': './favicon-goatoh.ico' if goatoh_talking else './favicon.ico'}
chat_item.message = histories.pop (-1)['content']


goatoh_talking = not goatoh_talking
message = chat_item.message


message = histories.pop (-1)['content']
goatoh_talking = not goatoh_talking
else: else:
# Chat オブジェクトが無効 # Chat オブジェクトが無効




Loading…
Cancel
Save