軽量化
このコミットが含まれているのは:
バイナリファイルは表示されません.
|
変更前 幅: | 高さ: | サイズ: 945 KiB 変更後 幅: | 高さ: | サイズ: 166 KiB |
@@ -42,4 +42,3 @@ class CommonModule:
|
||||
trimmed_left: str = string[cls.index_by_f2c (string, start):]
|
||||
|
||||
return trimmed_left[:cls.index_by_f2c (trimmed_left, length)]
|
||||
|
||||
|
||||
@@ -404,7 +404,7 @@ class Deerjika (Creature):
|
||||
FPS = 30
|
||||
|
||||
height: int
|
||||
scale: float = .375
|
||||
scale: float = 1
|
||||
surfaces: list[Surface]
|
||||
width: int
|
||||
talking: bool = False
|
||||
@@ -433,8 +433,8 @@ class Deerjika (Creature):
|
||||
case DeerjikaPattern.RELAXED:
|
||||
match direction:
|
||||
case Direction.LEFT:
|
||||
self.width = 1280
|
||||
self.height = 720
|
||||
self.width = 480
|
||||
self.height = 270
|
||||
surface = pygame.image.load ('./assets/deerjika_relax_left.png')
|
||||
self.surfaces = []
|
||||
for x in range (0, surface.get_width (), self.width):
|
||||
@@ -959,7 +959,6 @@ def add_query (
|
||||
return
|
||||
DB.begin_transaction ()
|
||||
chat.message = emoji.emojize (chat.message)
|
||||
message: str = chat.message
|
||||
user = (User.where ('platform', Platform.YOUTUBE.value)
|
||||
.where ('code', chat.author.channelId)
|
||||
.first ())
|
||||
|
||||
新しい課題から参照
ユーザをブロックする