Skip to content

Commit

Permalink
feat(/status) if all good, clarify who was requested
Browse files Browse the repository at this point in the history
  • Loading branch information
SConaway committed Dec 20, 2023
1 parent 4e38af8 commit ead2756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/musaStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default async function musaStatusHandler(req: Request, res: Response) {
} else if (!user.enabled) {
text = "Musa disabled. Run `/musa-toggle` to re-enable.";
} else {
text = "All good!";
if (type === "requester") text = "All good!";
else text = `<@${userID}> (\`${userID}\`): All good.`;
}

console.log(chalk.gray(`status requested for ${userID}: ${text}`));
Expand Down

0 comments on commit ead2756

Please sign in to comment.