Changed so user can use multiple animations

This commit is contained in:
Ben Arc
2021-04-12 22:05:54 +01:00
parent e4c893c1f2
commit 167c31f778
7 changed files with 220 additions and 132 deletions
+7 -2
View File
@@ -7,13 +7,18 @@ class Copilots(NamedTuple):
id: str
user: str
title: str
animation: str
animation1: str
animation2: str
animation3: str
animation1threshold: int
animation2threshold: int
animation3threshold: int
show_message: bool
amount: int
lnurl_title: str
@classmethod
def from_row(cls, row: Row) -> "Charges":
def from_row(cls, row: Row) -> "Copilots":
return cls(**dict(row))
@property