Skip to content

Commit

Permalink
Update log_reading.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NachosChipeados committed Dec 12, 2024
1 parent ff12d38 commit 9d8d74e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions reaper/cogs/log_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,33 @@ async def on_message(self, message):
value="",
inline=False,
)
elif 'COMPILE ERROR Undefined variable "NSGetModDownloadLinkByModName"' in details:
vanillaplus = False
for mod in mods:
if mod.name == "VanillaPlus":
vanillaplus = True
if vanillaplus:
problem.add_field(
name="Vanilla+",
value="You are likely using an outdated version of Vanilla+. Please uninstall your current version and download the latest one [here](https://thunderstore.io/c/northstar/p/NachosChipeados/VanillaPlus/).",
inline=False,
)
debug_embed.add_field(
name="Vanilla+",
value="",
inline=False,
)
else:
problem.add_field(
name="Outdated mods!",
value="One or more mods you have may not support the latest versions of Northstar. Please disable the offending mods until they are updated.",
inline=False,
)
debug_embed.add_field(
name="Outdated mods!",
value="",
inline=False,
)
else:
problem.add_field(
name="Unknown compile error",
Expand Down

0 comments on commit 9d8d74e

Please sign in to comment.