Skip to content

Commit

Permalink
Disable attachment size cap
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnl authored Jul 29, 2021
1 parent 60d7c3e commit 37b61cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ client.on('message', async (message) => {
if (extension.length > 5) throw new Error(selectedTranslations.invalidExtension)

// No extra benefits for Nitro users currently!
if (attachment.size > 8e6) throw new Error(selectedTranslations.tooBigFile)
// if (attachment.size > 8e6) throw new Error(selectedTranslations.tooBigFile)

// If the message includes text content, meme name will be taken from it.
// If a user is uploading multiple files, they can name each of them
Expand Down

0 comments on commit 37b61cb

Please sign in to comment.