Skip to content

Commit 69f7967

Browse files
drcrazysnyk-bot
andauthored
Update for Mists (#57)
* Remove players who left the guild from Standing * Fix flake * fix: requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-10742466 * Update for Mists * Fix flake --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io>
1 parent 4b1523f commit 69f7967

5 files changed

Lines changed: 6367 additions & 3306 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
aiohttp==3.10.11
1+
aiohttp==3.12.14
22
discord.py==2.4.0
33
gql[all]==3.5.0
44
pydantic-settings==2.3.4

slao_bot/cogs/gear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _check_enchants(self, raider_name: str, item: Dict) -> None:
7979
return
8080
if 'permanentEnchant' not in item:
8181
self.no_enchants[raider_name].add(SLOT_NAMES.get(item['slot']))
82-
elif item['permanentEnchant'] in enchants.BAD_ENCHANTS[item['slot']]:
82+
elif item['permanentEnchant'] not in enchants.GOOD_ENCHANTS[item['slot']]:
8383
self.low_enchants[raider_name].add(SLOT_NAMES.get(item['slot']))
8484

8585
def _check_offspec(self, raider_name: str, item: Dict, guild_id: str, raid_time: int) -> None:

slao_bot/utils/constants.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ class Role(str, Enum):
106106
1027: 'https://www.wowhcb.ru/slaobot/Firelands.png',
107107
# Dragon Soul
108108
1033: 'https://www.wowhcb.ru/slaobot/ds.jpg',
109+
# MSV
110+
1038: 'https://www.wowhcb.ru/slaobot/MSV_Banner.png',
111+
# HoF + ToES
112+
1040: 'https://www.wowhcb.ru/slaobot/HOF-TOES_Banner.png',
109113
}
110114

111115
ZONE_NAMES = {
@@ -154,6 +158,9 @@ class Role(str, Enum):
154158
':regional_indicator_l: :regional_indicator_a: :regional_indicator_n: :regional_indicator_d: '
155159
':regional_indicator_s:',
156160
1033: ':regional_indicator_d: :regional_indicator_s:',
161+
1038: ':regional_indicator_m: :regional_indicator_s: :regional_indicator_v: ',
162+
1040: ':regional_indicator_h: :regional_indicator_o: :regional_indicator_f: :left_right_arrow: '
163+
':regional_indicator_t: :regional_indicator_o: :regional_indicator_e: :regional_indicator_s:',
157164
}
158165
EXEC_VALUES = {
159166
0: 'Слабо',

0 commit comments

Comments
 (0)