Skip to content

Commit 81b0ac7

Browse files
authored
HOTFIX
Announce did not work on DCS updates.
1 parent 62eb762 commit 81b0ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/data/impl/nodeimpl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ async def dcs_update(self, *, branch: Optional[str] = None, version: Optional[st
10781078
"message": f"DCS World updated to version {version} on node {self.node.name}."
10791079
}
10801080
})
1081-
config = self.locals.get('announce')
1081+
config = self.locals.get('DCS', {}).get('announce')
10821082
if config and announce:
10831083
embed = discord.Embed(
10841084
colour=discord.Colour.blue(),

0 commit comments

Comments
 (0)