Skip to content

Commit

Permalink
fix(user): fix reply when /user used without args by unverified disco…
Browse files Browse the repository at this point in the history
…rd users
  • Loading branch information
wopian committed Mar 4, 2023
1 parent 9a52309 commit 56d4eeb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/commands/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,10 @@ export const user: Command = {
'No linked account or option arguments provided. Ending interaction.',
interaction
)
await interaction.reply({
await interaction.editReply({
content: `You must provide either a Steam ID or a user ID.\n\nIf you link your Steam account with ${inlineCode(
'/verify'
)}, you can use this command without providing a Steam ID or user ID.`,
ephemeral: true
)}, you can use this command without providing a Steam ID or user ID.`
})
return
}
Expand Down

0 comments on commit 56d4eeb

Please sign in to comment.