Skip to content

Commit

Permalink
change let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
Szedann committed Dec 28, 2023
1 parent ae0ffcb commit b637b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webserver/banshare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const banButton = new Button(
'ban',
object({ userId: string() }),
async (interaction, data) => {
let reason =
const reason =
'aero banshare: ' +
(interaction.message.embeds[0].fields[3].value ??
'no reason provided');
Expand Down

0 comments on commit b637b29

Please sign in to comment.