-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhuman.py
More file actions
32 lines (31 loc) · 869 Bytes
/
human.py
File metadata and controls
32 lines (31 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Human:
def __init__(
self,
address,
discord_id,
accessToken,
lastUpdate,
testCredits,
shares,
credits
):
self.address = address
self.discord_id = discord_id
self.accessToken = accessToken
self.lastUpdate = lastUpdate
self.testCredits = testCredits
self.shares = shares
self.credits = credits
self.msg_out_of_credit=False
self.not_registered_msg=False
self.auth_tries=0
def to_dict(self):
return {
"address": self.address,
"discord_id": self.discord_id,
"accessToken": self.accessToken,
"lastUpdate": self.lastUpdate,
"testCredits": self.testCredits,
"shares": self.shares,
"credits": self.credits,
}