Update leaderboard.py
Browse files- leaderboard.py +2 -1
leaderboard.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import requests
|
2 |
import time
|
3 |
import json
|
|
|
4 |
from discord_webhook import DiscordWebhook, DiscordEmbed
|
5 |
|
6 |
proclubs_memberscareer_api = "https://fcleaderboard.deno.dev/"
|
@@ -9,7 +10,7 @@ headers = {
|
|
9 |
"User-Agent": "Mozilla/5.0",
|
10 |
"Accept": "application/json"
|
11 |
}
|
12 |
-
discord_webhook_link2 =
|
13 |
|
14 |
with open("stinkies.json", "r") as f:
|
15 |
custom_names = json.load(f)
|
|
|
1 |
import requests
|
2 |
import time
|
3 |
import json
|
4 |
+
import os
|
5 |
from discord_webhook import DiscordWebhook, DiscordEmbed
|
6 |
|
7 |
proclubs_memberscareer_api = "https://fcleaderboard.deno.dev/"
|
|
|
10 |
"User-Agent": "Mozilla/5.0",
|
11 |
"Accept": "application/json"
|
12 |
}
|
13 |
+
discord_webhook_link2 = os.environ.get('discord_webhook_link2')
|
14 |
|
15 |
with open("stinkies.json", "r") as f:
|
16 |
custom_names = json.load(f)
|