🐛
This commit is contained in:
@@ -212,7 +212,7 @@ class BedreNetflix():
|
||||
|
||||
torrentInfo = torrentName+" "+progressBar+" (Eta: "+eta+")"
|
||||
|
||||
if not (downloadedRatio == 1 and torrent["added_on"] < time.time()-86400):
|
||||
if not (downloadedRatio == 1 and torrent["last_activity"] < time.time()-7200):
|
||||
message.append(torrentInfo)
|
||||
|
||||
if downloadedRatio < 1: allDownloaded = False
|
||||
@@ -224,6 +224,7 @@ class BedreNetflix():
|
||||
|
||||
async def downloading(self,ctx):
|
||||
messageText, allDownloaded = await self.genDownloadList()
|
||||
if messageText.startswith("```"):
|
||||
updatesLeft = 20
|
||||
messageText = messageText[:-3]+"\nThis message will update once a minute for "+str(updatesLeft)+" more minutes\n```"
|
||||
|
||||
@@ -246,4 +247,5 @@ class BedreNetflix():
|
||||
logThis("The message updated 20 times")
|
||||
|
||||
await oldMessage.edit(content = messageText)
|
||||
|
||||
else:
|
||||
await ctx.send(messageText)
|
||||
|
||||
Reference in New Issue
Block a user