-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfinal_vars.py
96 lines (80 loc) · 3.42 KB
/
final_vars.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import linecache
guild_id = int(linecache.getline('guild_id.txt', 1))
admin_roles = []
valid_channels = ['avatar', 'living_abyss', 'dragon']
split_threshold = 3
max_queue_length = 2
guilds = {
"toasted": None,
"pearl": None,
"burnt": None,
"royal": None,
"spring": None,
"fall": None,
"onion": None,
"toasted_sandbox": None,
"pearl_sandbox": None,
"burnt_sandbox": None,
"royal_sandbox": None,
"spring_sandbox": None,
"fall_sandbox": None,
"onion_sandbox": None,
"dev": None,
}
ping_roles = {
"avatar": 1047787785895038986,
"living_abyss": 1047787857357590538,
"dragon": 1042512104059568138
}
sweeper_roles = {
"avatar": 1061881832280424529,
"living_abyss": 1061881839419150376,
"dragon": 1061881749098999808
}
sweeper_requirements = {
"onion": {
"avatar": 100_000_000,
"living_abyss": 135_000_000,
"dragon": 5_000_000
},
"fall": {
"avatar": 100_000_000,
"living_abyss": 140_000_000,
"dragon": 5_000_000
},
"spring": {
"avatar": 85_000_000,
"living_abyss": 140_000_000,
"dragon": 5_000_000
},
"burnt": {
"avatar": -1,
"living_abyss": 130_000_000,
"dragon": 5_000_000
},
"other": {
"avatar": 5_000_000,
"living_abyss": 5_000_000,
"dragon": 5_000_000
}
}
split_exempt = ["onion", "spring", "fall", "burnt", "toasted", "royal", "pearl", "onion_sandbox", "toasted_sandbox",
"pearl_sandbox", "burnt_sandbox", "royal_sandbox", "spring_sandbox", "fall_sandbox", "dev"]
# ERRORS MADE TO BE CONSTANTS
INVALID_INT_ERR = '''**ERROR: Please double check that you input a full integer value, correct number for damage
(will not accept comma separated numbers or numbers ending with 'm' (123.4m)).
If you want to kill the boss, please use `/admin_kill` instead. If there is some other error: please contact a developer.**'''
INSERT_HIT_ERR = '''**ERROR: Please double check that you input the exact, correct number for damage
(will not accept comma separated numbers or numbers ending with 'm' (123.4m).
If you killed the boss please use the `/killed` command before calling `/hit` if you just swept this boss.
If neither of these are the case, please contact your staff to get them to reset the boss at it's current level and hp.**'''
BOSS_SETUP_ERR = '''**ERROR: A boss has not been set up in this channel. Check /help for more information.
Please contact staff/a developer if you think this is a mistake.**'''
INVALID_GUILD_ERR = '''**ERROR: Invalid guild entered. Check /help for more information.
Please contact staff/a developer if you think this is a mistake.**'''
INVALID_BOSS_ERR = '''**ERROR: Cannot create two bosses at once, or no boss exists in this channel.
If you want to reset the boss, please call `/delete_boss` first. Otherwise, use `/create_boss` to make a new boss.**'''
INVALID_CHANNEL_ERR = "**ERROR: Cannot create boss in this channel. Please try this command again in a valid channel.**"
INVALID_HP_ERR = "**ERROR: HP was set higher than boss level allows for. Please try again with valid HP.**"
INVALID_UNDO_ERR = "**ERROR: You can only undo hits on the current level, or kills on the last level if no other commands have been used after that.**"
INVALID_PARAM_ERR = "**ERROR: The parameter that has been entered is incorrect. Please either check the command description or /help for more information.**"