fixed error
This commit is contained in:
@@ -128,7 +128,7 @@ async def upload(ctx,file: discord.Attachment | None = None):
|
|||||||
filename = file.filename
|
filename = file.filename
|
||||||
if ".torrent" in filename:
|
if ".torrent" in filename:
|
||||||
logger.info(f"{filename} recieved, uploading")
|
logger.info(f"{filename} recieved, uploading")
|
||||||
logger.info(file.title")
|
logger.info(file.title)
|
||||||
await file.save(filename)
|
await file.save(filename)
|
||||||
await ctx.respond(f"{filename} recieved, uploading")
|
await ctx.respond(f"{filename} recieved, uploading")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user