Compare commits
No commits in common. "8b147082f9ec08328436fb8056d0daf0a8e26968" and "c881abcba8a640122877e01d866303330abbf946" have entirely different histories.
8b147082f9
...
c881abcba8
1 changed files with 2 additions and 3 deletions
5
main.py
5
main.py
|
|
@ -1,7 +1,6 @@
|
|||
import json
|
||||
import requests
|
||||
from dotenv import dotenv_values
|
||||
from datetime import datetime
|
||||
|
||||
config = dotenv_values(".env")
|
||||
|
||||
|
|
@ -89,16 +88,16 @@ player_diff_formatted = "\n".join(player_diff) or " no one is here."
|
|||
|
||||
|
||||
payload = {
|
||||
"content": f"""
|
||||
"content": f"""---
|
||||
# status changed on {HOSTNAME}
|
||||
|
||||
```diff
|
||||
{playercount_diff_formatted}
|
||||
```
|
||||
|
||||
```diff
|
||||
{player_diff_formatted}
|
||||
```
|
||||
-# *at {datetime.now()}*
|
||||
"""
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue