fdfd
parent
58de375da7
commit
d3354b7572
|
@ -1,23 +1,37 @@
|
||||||
from sqlalchemy import *
|
from sqlalchemy import *
|
||||||
from sqlalchemy.orm import relationship
|
from sqlalchemy.orm import relationship
|
||||||
from files.__main__ import Base
|
from files.__main__ import Base
|
||||||
|
from os import environ
|
||||||
|
|
||||||
AWARDS = {
|
site_name = environ.get("SITE_NAME").strip()
|
||||||
"ban": {
|
|
||||||
"kind": "ban",
|
if site_name = "Drama":
|
||||||
"title": "One-Day Ban",
|
AWARDS = {
|
||||||
"description": "Ban the author for a day.",
|
"ban": {
|
||||||
"icon": "fas fa-gavel",
|
"kind": "ban",
|
||||||
"color": "text-danger"
|
"title": "One-Day Ban",
|
||||||
},
|
"description": "Ban the author for a day.",
|
||||||
"shit": {
|
"icon": "fas fa-gavel",
|
||||||
"kind": "shit",
|
"color": "text-danger"
|
||||||
"title": "Shitpost",
|
},
|
||||||
"description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
|
"shit": {
|
||||||
"icon": "fas fa-poop",
|
"kind": "shit",
|
||||||
"color": "text-black-50"
|
"title": "Shitpost",
|
||||||
|
"description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
|
||||||
|
"icon": "fas fa-poop",
|
||||||
|
"color": "text-black-50"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else:
|
||||||
|
AWARDS = {
|
||||||
|
"shit": {
|
||||||
|
"kind": "shit",
|
||||||
|
"title": "Shitpost",
|
||||||
|
"description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
|
||||||
|
"icon": "fas fa-poop",
|
||||||
|
"color": "text-black-50"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
class AwardRelationship(Base):
|
class AwardRelationship(Base):
|
||||||
|
|
Loading…
Reference in New Issue