You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error with random-number command TypeError [CommandInteractionOptionType]: Option "min" is of type: 3; expected 4.
at CommandInteractionOptionResolver._getTypedOption (/root/Overmounting/node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js:99:13)
at CommandInteractionOptionResolver.getInteger (/root/Overmounting/node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js:183:25)
at Object.execute (/root/Overmounting/commands/utility/random-number.js:22:48)
at Client.<anonymous> (/root/Overmounting/index.js:44:19)
at Client.emit (node:events:519:28)
at InteractionCreateAction.handle (/root/Overmounting/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (/root/Overmounting/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/root/Overmounting/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (/root/Overmounting/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
at WebSocketManager.emit (/root/Overmounting/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:282:31) {
code: 'CommandInteractionOptionType'
}
Reproducibility
happens everytime and does not reach valid range check
Environment
it's in production
Operating System:
Node.js Version:
Package Version/Commit:
Additional Information:
Additional Information
Note:
If you are planning to work on fixing this bug, please comment on this issue to express your interest.
Follow the Reporting Issues guidelines in the contributing documentation before submitting your bug report.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
Run /random-nummber
Expected Behavior
a random nummber
Actual Behavior
Error while generating random number
Reproducibility
happens everytime and does not reach valid range check
Environment
it's in production
Additional Information
Note:
The text was updated successfully, but these errors were encountered: