Adding project
This commit is contained in:
commit
3bd18050cb
9 files changed
+730
No files matched your search
+219
@@ -0,0 +1,219 @@
|
||||
import config
|
||||
|
||||
FOUNDER_ROLE = "Founder"
|
||||
|
||||
COUNTIES = [
|
||||
"Autauga",
|
||||
"Baldwin",
|
||||
"Barbour",
|
||||
"Bibb",
|
||||
"Blount",
|
||||
"Bullock",
|
||||
"Butler",
|
||||
"Calhoun",
|
||||
"Chambers",
|
||||
"Cherokee",
|
||||
"Chilton",
|
||||
"Choctaw",
|
||||
"Clarke",
|
||||
"Clay",
|
||||
"Cleburne",
|
||||
"Coffee",
|
||||
"Colbert",
|
||||
"Conecuh",
|
||||
"Coosa",
|
||||
"Covington",
|
||||
"Crenshaw",
|
||||
"Cullman",
|
||||
"Dale",
|
||||
"Dallas",
|
||||
"DeKalb",
|
||||
"Elmore",
|
||||
"Escambia",
|
||||
"Etowah",
|
||||
"Fayette",
|
||||
"Franklin",
|
||||
"Geneva",
|
||||
"Greene",
|
||||
"Hale",
|
||||
"Henry",
|
||||
"Houston",
|
||||
"Jackson",
|
||||
"Jefferson",
|
||||
"Lamar",
|
||||
"Lauderdale",
|
||||
"Lawrence",
|
||||
"Lee",
|
||||
"Limestone",
|
||||
"Lowndes",
|
||||
"Macon",
|
||||
"Madison",
|
||||
"Marengo",
|
||||
"Marion",
|
||||
"Marshall",
|
||||
"Mobile",
|
||||
"Monroe",
|
||||
"Montgomery",
|
||||
"Morgan",
|
||||
"Perry",
|
||||
"Pickens",
|
||||
"Pike",
|
||||
"Randolph",
|
||||
"Russell",
|
||||
"Saint Clair",
|
||||
"Shelby",
|
||||
"Sumter",
|
||||
"Talladega",
|
||||
"Tallapoosa",
|
||||
"Tuscaloosa",
|
||||
"Walker",
|
||||
"Washington",
|
||||
"Wilcox",
|
||||
"Winston",
|
||||
]
|
||||
|
||||
REGION_COUNTIES = {
|
||||
"North": [
|
||||
"Lauderdale",
|
||||
"Colbert",
|
||||
"Franklin",
|
||||
"Marion",
|
||||
"Lamar",
|
||||
"Madison",
|
||||
"Limestone",
|
||||
"Morgan",
|
||||
"Lawrence",
|
||||
"Cullman",
|
||||
"Winston",
|
||||
"Jackson",
|
||||
"Marshall",
|
||||
"DeKalb",
|
||||
"Cherokee",
|
||||
"Etowah",
|
||||
],
|
||||
"West": [
|
||||
"Bibb",
|
||||
"Choctaw",
|
||||
"Fayette",
|
||||
"Greene",
|
||||
"Hale",
|
||||
"Marengo",
|
||||
"Pickens",
|
||||
"Sumter",
|
||||
"Tuscaloosa",
|
||||
"Perry",
|
||||
],
|
||||
"South": [
|
||||
"Mobile",
|
||||
"Baldwin",
|
||||
"Houston",
|
||||
"Dale",
|
||||
"Coffee",
|
||||
"Geneva",
|
||||
"Henry",
|
||||
"Covington",
|
||||
"Escambia",
|
||||
"Conecuh",
|
||||
"Monroe",
|
||||
"Clarke",
|
||||
"Washington",
|
||||
"Pike",
|
||||
"Barbour",
|
||||
"Butler",
|
||||
"Crenshaw",
|
||||
"Wilcox",
|
||||
],
|
||||
"Central": [
|
||||
"Jefferson",
|
||||
"Shelby",
|
||||
"Saint Clair",
|
||||
"Blount",
|
||||
"Walker",
|
||||
"Montgomery",
|
||||
"Autauga",
|
||||
"Elmore",
|
||||
"Chilton",
|
||||
"Dallas",
|
||||
"Lowndes",
|
||||
],
|
||||
"East": [
|
||||
"Lee",
|
||||
"Russell",
|
||||
"Chambers",
|
||||
"Tallapoosa",
|
||||
"Randolph",
|
||||
"Macon",
|
||||
"Calhoun",
|
||||
"Cleburne",
|
||||
"Clay",
|
||||
"Talladega",
|
||||
"Coosa",
|
||||
"Bullock",
|
||||
],
|
||||
}
|
||||
|
||||
# Order here is the order panels are posted in.
|
||||
# multi=False swaps the old choice for the new one; multi=True allows any number.
|
||||
# color=None uses Discord's default role color.
|
||||
CATEGORIES = [
|
||||
{
|
||||
"key": "party",
|
||||
"title": "Party affiliation",
|
||||
"text": "**Party affiliation** (required)\nPick the one that fits best.",
|
||||
"placeholder": "Choose your party affiliation",
|
||||
"roles": [
|
||||
"Democrat",
|
||||
"Republican",
|
||||
"Independent",
|
||||
"Libertarian",
|
||||
"Green",
|
||||
"Other Third Party",
|
||||
],
|
||||
"multi": False,
|
||||
"required": True,
|
||||
"color": None,
|
||||
},
|
||||
{
|
||||
"key": "region",
|
||||
"title": "Region",
|
||||
"text": "**Region** (required)\nWhich part of Alabama are you in?",
|
||||
"placeholder": "Choose your region",
|
||||
"roles": ["North", "Central", "South", "East", "West"],
|
||||
"multi": False,
|
||||
"required": True,
|
||||
"color": None,
|
||||
},
|
||||
{
|
||||
"key": "counties",
|
||||
"title": "Counties",
|
||||
"text": (
|
||||
"**County** (optional)\nPick any that apply. "
|
||||
"(Counties are split across three menus alphabetically)."
|
||||
),
|
||||
"placeholder": "Counties",
|
||||
"roles": COUNTIES,
|
||||
"multi": True,
|
||||
"required": False,
|
||||
"color": config.LIGHT_BLUE,
|
||||
},
|
||||
{
|
||||
"key": "age",
|
||||
"title": "Age range",
|
||||
"text": "**Age range** (optional)",
|
||||
"placeholder": "Choose your age range",
|
||||
"roles": ["18-29", "30-49", "50-64", "65+"],
|
||||
"multi": False,
|
||||
"required": False,
|
||||
"color": None,
|
||||
},
|
||||
{
|
||||
"key": "gender",
|
||||
"title": "Gender identity",
|
||||
"text": "**Gender identity** (optional)",
|
||||
"placeholder": "Choose your gender identity",
|
||||
"roles": ["Male", "Female", "Non-binary", "Gender fluid", "Ask for pronouns"],
|
||||
"multi": True,
|
||||
"required": False,
|
||||
"color": None,
|
||||
},
|
||||
]
|
||||
Reference in new issue
Block a user