Update database bot.py
This commit is contained in:
parent
bd8965ada2
commit
88e07c053e
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Reference in a new issue