This commit is contained in:
parent
e13f8a1156
commit
f52d216ae9
1 changed files with 5 additions and 6 deletions
11
main.py
11
main.py
|
@ -11,12 +11,11 @@ DEV = False
|
||||||
DB_KEY = "scores" if not DEV else "scores_dev"
|
DB_KEY = "scores" if not DEV else "scores_dev"
|
||||||
WEBHOOK_URL = "https://discord.com/api/webhooks/1233484325962518709/yUxyEYZzfxOvOhd3G892pSd4XHbwdj96UnLmL9oJXeimc7sqMfUPkGhs0VA-k34o-56J"
|
WEBHOOK_URL = "https://discord.com/api/webhooks/1233484325962518709/yUxyEYZzfxOvOhd3G892pSd4XHbwdj96UnLmL9oJXeimc7sqMfUPkGhs0VA-k34o-56J"
|
||||||
|
|
||||||
db = redis.Redis(host='redis',
|
db = redis.Redis(
|
||||||
port=50658,
|
host='redis',
|
||||||
decode_responses=True,
|
port=6379,
|
||||||
ssl=True,
|
decode_responses=True
|
||||||
username="default",
|
)
|
||||||
password="default") #! probably fine?
|
|
||||||
|
|
||||||
def seconds2mmss(total_seconds: float):
|
def seconds2mmss(total_seconds: float):
|
||||||
seconds: float = total_seconds % 60
|
seconds: float = total_seconds % 60
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue