-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed LMS simulation command #5985
Conversation
Sorry, I don't know how to help with that. If you tag me (@ellipsis-dev) in a comment, I can do one of these things (but not multiple at once):
I am able to see previous issue comments for context. |
Code generation is not enabled for @I-am-TURBO in this repository because they haven't been added to the org and/or granted a seat. |
@ellipsis-dev review and summerize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to 04a4653 in 40 seconds
More details
- Looked at
248
lines of code in3
files - Skipped
1
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_CHDKCu7AM3dCUU1J
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
package.json
Outdated
"node-cron": "^3.0.3", | ||
"node-fetch": "^2.6.7", | ||
"nodejs": "^0.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency 'nodejs' is not a valid npm package and should be removed. It seems to be a mistake since 'node' is already included as a dependency.
"nodejs": "^0.0.0", | |
@@ -33,6 +35,13 @@ export async function lmsCommand( | |||
**Total Matches:** ${stats.totalGames}`; | |||
} | |||
|
|||
if (options.simulate) { | |||
lmsSimCommand(globalClient.channels.cache.get(channelID.toString()), options.simulate.names); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The asynchronous function lmsSimCommand
should be awaited to ensure all its operations complete before proceeding.
lmsSimCommand(globalClient.channels.cache.get(channelID.toString()), options.simulate.names); | |
await lmsSimCommand(globalClient.channels.cache.get(channelID.toString()), options.simulate.names); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gc @themrrobert why is the bot requesting to add this?
removed the 2 added changes
Description:
doing simulation on bso sent minigame trips same as minigame command
Changes:
copied over osb's command
Other checks:
Summary:
Added LMS simulation command and integrated it into the existing LMS command, along with updating dependencies in
package.json
.Key points:
lmsSimCommand
function insrc/lib/minions/functions/lmsSimCommand.ts
to simulate LMS minigame.lmsSimCommand
intolmsCommand
insrc/mahoji/lib/abstracted_commands/lmsCommand.ts
.package.json
to include new dependenciesnode
andnodejs
.Generated with ❤️ by ellipsis.dev