-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py
33 lines (27 loc) · 1.08 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#import discord
DEFAULT_PLOTSTYLE = "dark_background"
MAIN_COLOR = "#01abe1"
MAIN_BG_COLOR = "#1d1925"
DEFAULT_COORD = 10
DEFAULT_DIVISIONS = 1000
DEFAULT_AXES_COLOR = "#ffffff"
DEFAULT_TICKS_COLOR = "#ffffff"
DEFAULT_TITLE_COLOR = "#ffffff"
WEBHOOK_URL = "https://discord.com/api/webhooks/882334551685357578/OZ5bT6xLnHvOQzQGt1-GUcrGElY4NSPLHPBk4buVfqVKHOnI_MnLxw_rQtrvMRui0yIz"
BETA_FLAT_GRAPH_ROUTE = "/DenzGraphingApi/v1/beta_flat_graph/test/plot"
FLAT_GRAPH_ROUTE = "/DenzGraphingApi/v1/flat_graph/test/plot"
DERIVATIVE_GRAPH_ROUTE = "/DenzGraphingApi/v1/derivative_graph/test/plot"
API_HOMEPAGE_ROUTE = "/api"
API_DOCS_ROUTE = "/docs"
API_ATTRIBUTES_ROUTE = "/DenzGraphingApi/v1/attr"
API_FORM_ROUTE = "/test_form"
API_RESET_ROUTE = "/reset"
API_RICKROLL_ROUTE = "/rickroll"
LATEX_ROUTE = "/DenzGraphingApi/v1/latex/test/plot"
ERROR_ID_PLOT_STYLE = "ERROR_PLOT_STYLE_TRY_BLOCK"
async def SendLogs(text: str):
"""
function to Use DiscordWebhook to send a msg to Discord Using Webhooks
"""
#DiscordWebhook = discord.SyncWebhook.from_url(WEBHOOK_URL)
#DiscordWebhook.send(text)