master
Aevann1 2022-02-06 01:39:47 +02:00
parent b65879e15d
commit 526f7a12cc
2 changed files with 14 additions and 13 deletions

View File

@ -570,4 +570,16 @@ no_pass_phrase = """<p>Sorry whiteboy, we're gonna need to see some ID before yo
db = db_session()
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",
}

View File

@ -1,6 +1,7 @@
from os import environ
import requests
import threading
from .const import *
SERVER_ID = environ.get("DISCORD_SERVER_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()
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 wrapper(*args, **kwargs):