Skip to content

Commit

Permalink
Fixed class attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjas333 committed Nov 11, 2024
1 parent c1a8188 commit abc2bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def sendMessage(
raise Exception("The path provided is not a file: " + file)

print(f"Sending file: {file.name}")
if file.stat().st_size >= self.litterboxMBThreshold or (self.litterboxExtensions and file.suffix.lower().removeprefix('.') in self.litterboxExtensions):
if file.stat().st_size >= self.litterboxThreshold or (self.litterboxExtensions and file.suffix.lower().removeprefix('.') in self.litterboxExtensions):
await channel.send(message + "\n" + uploadFileToLitterbox(file))
else:
with file.open('rb') as content:
Expand Down

0 comments on commit abc2bd9

Please sign in to comment.