Skip to content

Commit

Permalink
Declare variable as let
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Sep 25, 2024
1 parent 066bca5 commit 1065eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/messageReactionRemove.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const altboardEmoteID = altboardEmote.replace(/[^0-9]+/g, "");

export default async (client, messageReaction) => {
try {
const boardEmote = starboardEmote;
let boardEmote = starboardEmote;
// Check if message reaction counts are valid and that reaction is a star
if (messageReaction.count == null || messageReaction.count == undefined) return;
// Check if message is reacting to nostar in Shinx server
Expand Down

0 comments on commit 1065eb9

Please sign in to comment.