forked from rDrama/rDrama
sdf
parent
b65879e15d
commit
526f7a12cc
|
@ -570,4 +570,16 @@ no_pass_phrase = """<p>Sorry whiteboy, we're gonna need to see some ID before yo
|
||||||
|
|
||||||
db = db_session()
|
db = db_session()
|
||||||
SUBS = [x[0] for x in db.query(Sub.name).all()]
|
SUBS = [x[0] for x in db.query(Sub.name).all()]
|
||||||
db.close()
|
db.close()
|
||||||
|
|
||||||
|
ROLES={
|
||||||
|
"owner": "864612849199480914",
|
||||||
|
"admin": "879459632656048180" if environ.get("DOMAIN") == "pcmemes.net" else "846509661288267776",
|
||||||
|
"linked": "890342909390520382",
|
||||||
|
"1": "868129042346414132",
|
||||||
|
"2": "875569477671067688",
|
||||||
|
"3": "869434199575236649",
|
||||||
|
"4": "868140288013664296",
|
||||||
|
"5": "880445545771044884",
|
||||||
|
"8": "886781932430565418",
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
from os import environ
|
from os import environ
|
||||||
import requests
|
import requests
|
||||||
import threading
|
import threading
|
||||||
|
from .const import *
|
||||||
|
|
||||||
SERVER_ID = environ.get("DISCORD_SERVER_ID",'').strip()
|
SERVER_ID = environ.get("DISCORD_SERVER_ID",'').strip()
|
||||||
CLIENT_ID = environ.get("DISCORD_CLIENT_ID",'').strip()
|
CLIENT_ID = environ.get("DISCORD_CLIENT_ID",'').strip()
|
||||||
|
@ -8,18 +9,6 @@ CLIENT_SECRET = environ.get("DISCORD_CLIENT_SECRET",'').strip()
|
||||||
BOT_TOKEN = environ.get("DISCORD_BOT_TOKEN",'').strip()
|
BOT_TOKEN = environ.get("DISCORD_BOT_TOKEN",'').strip()
|
||||||
AUTH = environ.get("DISCORD_AUTH",'').strip()
|
AUTH = environ.get("DISCORD_AUTH",'').strip()
|
||||||
|
|
||||||
ROLES={
|
|
||||||
"owner": "864612849199480914",
|
|
||||||
"admin": "879459632656048180" if environ.get("DOMAIN") == "pcmemes.net" else "846509661288267776",
|
|
||||||
"linked": "890342909390520382",
|
|
||||||
"1": "868129042346414132",
|
|
||||||
"2": "875569477671067688",
|
|
||||||
"3": "869434199575236649",
|
|
||||||
"4": "868140288013664296",
|
|
||||||
"5": "880445545771044884",
|
|
||||||
"8": "886781932430565418",
|
|
||||||
}
|
|
||||||
|
|
||||||
def discord_wrap(f):
|
def discord_wrap(f):
|
||||||
|
|
||||||
def wrapper(*args, **kwargs):
|
def wrapper(*args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue