-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
myconstants.py
80 lines (65 loc) · 3.15 KB
/
myconstants.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Holds all the constants that we want to be consistent
#TODO: change these all to snake case
rolesList = ['Dodo Red', 'Dodo Orange', 'Dodo Yellow', 'Dodo Spring', 'Dodo Matcha', 'Dodo Mint', 'Dodo Green',
'Dodo Ice', 'Dodo Bbblu', 'Dodo Teal', 'Dodo Copyright', 'Dodo Cyan', 'Dodo Blue', 'Dodo Lavender',
'Dodo Grape', 'Dodo Purple', 'Dodo Rose', 'Dodo Pink', 'Dodo Salmon', 'Dodo Special', 'Dodo Taffy',
'Dodo Oak', 'Dodo Snow', 'Dodo Black', 'Dodo Gold', 'Dodo Dream', 'Dodo Chiffon']
activateRoles = ['Red', 'Orange', 'Yellow', 'Green', 'Teal', 'Copyright', 'Cyan', 'Blue', 'Grape', 'Purple', 'Rose',
'Pink', 'Salmon', 'Spring', 'Matcha', 'Mint', 'Ice', 'Bbblu', 'Lavender', 'Special', 'Taffy', 'Oak',
'Snow', 'Black', 'Gold', 'Dream', 'Chiffon']
numbers = ["A", 2, 3, 4, 5, 6, 7, 8, 9, 10, "J", "Q", "K"]
suits = ["🍇", "🍉", "🍒", "🍍"]
# Each sign is referenced to a number assigned by horoscope.com, this goes to the end of sign =
zodiacSigns = {
"aries": "1",
"taurus": "2",
"gemini": "3",
"cancer": "4",
"leo": "5",
"virgo": "6",
"libra": "7",
"scorpio": "8",
"sagittarius": "9",
"capricorn": "10",
"aquarius": "11",
"pisces": "12"
}
zodiacAvatars = ["", "https://www.horoscope.com/images-US/signs/profile-aries.png",
"https://www.horoscope.com/images-US/signs/profile-taurus.png",
"https://www.horoscope.com/images-US/signs/profile-gemini.png",
"https://www.horoscope.com/images-US/signs/profile-cancer.png",
"https://www.horoscope.com/images-US/signs/profile-leo.png",
"https://www.horoscope.com/images-US/signs/profile-virgo.png",
"https://www.horoscope.com/images-US/signs/profile-libra.png",
"https://www.horoscope.com/images-US/signs/profile-scorpio.png",
"https://www.horoscope.com/images-US/signs/profile-sagittarius.png",
"https://www.horoscope.com/images-US/signs/profile-capricorn.png",
"https://www.horoscope.com/images-US/signs/profile-aquarius.png",
"https://www.horoscope.com/images-US/signs/profile-pisces.png"]
months = {
"1": "January",
"2": "Febuary",
"3": "March",
"4": "April",
"5": "May",
"6": "June",
"7": "July",
"8": "August",
"9": "September",
"10": "October",
"11": "November",
"12": "December"
}
pollOptions = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣", "🔟"]
# --------------------------------------------------------------------------- #
def load_data():
global words_10k, words_20k_includes_swears
with open("./data/google-10k-english-no-swears.txt", "r") as f:
words_10k = [x.strip() for x in f.readlines()]
with open("./data/20k.txt", "r") as f:
words_20k_includes_swears = [x.strip() for x in f.readlines()]
import random
# --------------------------------------------------------------------------- #
# variables under here must be filled using load_data()
words_10k = []
words_20k_includes_swears = []