We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1135b23 commit 11504c0Copy full SHA for 11504c0
1 file changed
bot/modules/dispute/commands.ts
@@ -95,7 +95,9 @@ const dispute = async (ctx: MainContext) => {
95
try {
96
const { user } = ctx;
97
98
- if (ctx.state.command.args.length === 2) {
+ console.log('Total Arguments:', ctx.state.command.args.length);
99
+ console.log('Argumentos:', JSON.stringify(ctx.state.command.args));
100
+ if (ctx.state.command.args.length > 0 && ctx.state.command.args[0] !== "undefined") {
101
const params = await validateParams(ctx, 2, '\\<_order id_\\>');
102
103
if (!params || params.length === 0) return;
0 commit comments