coollsd commited on
Commit
7b99397
1 Parent(s): 2ca4773

Update leaderboard.py

Browse files
Files changed (1) hide show
  1. 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 = "https://discord.com/api/webhooks/1304573170086449154/O2QiVs0o20alfSjLMfbfiF8qdd9-yJW2_BXLcDH1rfwxZVScJ866Ir_BdcmhMIcuhMVk"
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)