From f0f85b447606e2dd52709568a96a5173d538b4bf Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Wed, 9 May 2018 14:03:29 -0800 Subject: [PATCH] Fixed messages --- exts/uploader.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exts/uploader.py b/exts/uploader.py index 54c7ad6..e0794b0 100644 --- a/exts/uploader.py +++ b/exts/uploader.py @@ -41,18 +41,18 @@ class Uploader: await msg.edit(content=f'{official} is not a valid option. Please specify "official" ' f'or "unofficial" or leave it blank to default to "unofficial"') return - await msg.edit('Processing... Syncing with GitHub') + await msg.edit(content='Processing... Syncing with GitHub') pull_status = utils.git_pull(self.bot.loop, storage_dir) if pull_status == 'Completed': - await msg.edit('Processing... Sync complete... Generating new files') + await msg.edit(content='Processing... Sync complete... Generating new files') process_files.generate_files(storage_dir, ctx, attachment.filename, game_ini, dinos_data, mods) - await msg.edit('Processing... Files generated... Committing changes') + await msg.edit(content='Processing... Files generated... Committing changes') utils.git_add(self.bot.loop, storage_dir, '*') utils.git_commit(self.bot.loop, storage_dir, f'Uploaded {len(dinos_data)} dinos {official}') - await msg.edit('Processing... Committed... Pushing files to GitHub') + await msg.edit(content='Processing... Committed... Pushing files to GitHub') push_status = utils.git_push(self.bot.loop, storage_dir) if push_status == 'Completed': await msg.edit(content=f'{ctx.author.mention} Upload complete.')