From 79c5f0cf5a9ec38043acd597b17fccd70a40c92b Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Wed, 9 May 2018 01:28:31 -0800 Subject: [PATCH] upload_dino command --- exts/uploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/uploader.py b/exts/uploader.py index aa892f4..1510383 100644 --- a/exts/uploader.py +++ b/exts/uploader.py @@ -15,7 +15,7 @@ class Uploader: @commands.command(name='upload', aliases=['submit']) async def upload_dino(self, ctx, official: str='unofficial', singleplayer: bool=False): if ctx.message.attachments: - attachment = ctx.message.attachements[0] + attachment = ctx.message.attachments[0] if attachment.filename.endswith('.zip'): with BytesIO() as file: await attachment.save(file)