Skip to content

Commit

Permalink
misc change before I go sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Jan 22, 2022
1 parent 340b035 commit dc1c12c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bot/commands/slash/getstatement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ export const getstatement: CocoaSlash = {
return;
}

if (Problem.statement) await ctx.reply(Problem.statement);
if (Problem.statement)
await ctx.reply(
`Here is statement for ${Problem.title}\n${Problem.statement}`
);
else ctx.reply("Sorry, this problem doesn't have statement");
},
};

0 comments on commit dc1c12c

Please sign in to comment.