Bumped Discord.js to v14.11.0 + discord plugins + log-parser #297
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
Been working with SquadJS for 3 months, it's great, but could be greater!
Additions & Changes
core/log-parser/index.js
Average matching latency
being NaN in the log.squad-server/package.json
squad-server/factory.js
squad-server/plugins/*
cbl-info.js
, added exception for when there is no SteamID within the data ("possible log parser issue or data is not always available during trigger event").discord-base-plugin.js
, reworked sendDiscordMessage function, added additional utility functionssquad-server/plugins/discord-*.js
While writing this I might have missed a few issues
cbl-info.js
may only display the default footer and notPowered by SquadJS and the Community Ban List