We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a8188 commit abc2bd9Copy full SHA for abc2bd9
1 file changed
selfbot.py
@@ -50,7 +50,7 @@ async def sendMessage(
50
raise Exception("The path provided is not a file: " + file)
51
52
print(f"Sending file: {file.name}")
53
- 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):
54
await channel.send(message + "\n" + uploadFileToLitterbox(file))
55
else:
56
with file.open('rb') as content:
0 commit comments