Update database bot.py

This commit is contained in:
insert-usernamehere 2021-03-29 12:47:33 -04:00 committed by GitHub
parent bd8965ada2
commit 88e07c053e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@ async def downloadcourtroom(ctx):
urlpath = finalfilepath1.replace(" ", "_") urlpath = finalfilepath1.replace(" ", "_")
os.rename(finalfilepath1,urlpath) os.rename(finalfilepath1,urlpath)
newurlpath = finalfilepath1.replace("/public", "") newurlpath = finalfilepath1.replace("/public", "")
await ctx.send("http://fierce-push.auto.playit.gg:47746/"+str(newurlpath)) await ctx.send("http://fierce-push.auto.playit.gg:47746/"+str(urlpath))
await ctx.send("note: this link will become invalid in 5 minutes") await ctx.send("note: this link will become invalid in 5 minutes")
delfile = threading.Thread(target=closefile1) delfile = threading.Thread(target=closefile1)
delfile.start() delfile.start()