Skip to content

Commit

Permalink
Update getMessage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Jul 15, 2024
1 parent e155410 commit 309c62b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/util/getMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ async function getMessage(
return message;
} else return null;
} else {
client.s3Messages
.deleteObject({ Bucket: client.s3MessageBucket, Key: usedHash })
.promise()
.catch(() => null);

if (destroy != false)
client.guilds.cache
.get(guild_id)
Expand Down

0 comments on commit 309c62b

Please sign in to comment.