Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
12e243d
1
Parent(s):
20e432f
Add Discord webhook import to database.py for integration with Discord notifications
Browse files- src/database.py +1 -0
src/database.py
CHANGED
|
@@ -2,6 +2,7 @@ import streamlit as st
|
|
| 2 |
import os
|
| 3 |
from pymongo import MongoClient
|
| 4 |
from gspread.auth import service_account_from_dict
|
|
|
|
| 5 |
|
| 6 |
# Helper function to get secrets
|
| 7 |
def get_secret(key, default=None):
|
|
|
|
| 2 |
import os
|
| 3 |
from pymongo import MongoClient
|
| 4 |
from gspread.auth import service_account_from_dict
|
| 5 |
+
from discordwebhook import Discord
|
| 6 |
|
| 7 |
# Helper function to get secrets
|
| 8 |
def get_secret(key, default=None):
|