Reformated messages
This commit is contained in:
parent
73bebc8158
commit
0a5cb8a038
@ -34,7 +34,8 @@ class Uploader:
|
||||
'Please make sure the files have not been renamed.')
|
||||
else:
|
||||
if official == 'unofficial' and game_ini == ConfigParser():
|
||||
await msg.edit(content=f'{ctx.author.mention} Game.ini is missing or is not valid.\n'
|
||||
await msg.delete()
|
||||
msg = await ctx.send(f'{ctx.author.mention} Game.ini is missing or is not valid.\n'
|
||||
f'Select {self.bot.unicode_emojis["o"]} to process as Official\n'
|
||||
f'Select {self.bot.unicode_emojis["y"]} if you would like to '
|
||||
f'provide Game.ini separately.\n'
|
||||
@ -98,7 +99,8 @@ class Uploader:
|
||||
|
||||
if official == 'official' and game_ini == ConfigParser():
|
||||
if not singleplayer:
|
||||
await msg.edit(content=f'Is this from SinglePlayer or a server?\n'
|
||||
await msg.delete()
|
||||
msg = await ctx.send(f'Is this from SinglePlayer or a server?\n'
|
||||
f"select {self.bot.unicode_emojis['y']} for SP or "
|
||||
f"{self.bot.unicode_emojis['x']} for server.")
|
||||
|
||||
@ -155,7 +157,9 @@ class Uploader:
|
||||
await msg.edit(content='Processing... Committed... Pushing files to GitHub')
|
||||
push_status = await utils.git_push(self.bot.loop, storage_dir)
|
||||
if push_status == 'Completed':
|
||||
await msg.edit(content=f'{ctx.author.mention} Upload complete.')
|
||||
await msg.delete()
|
||||
msg = await ctx.send(f'{ctx.author.mention} Upload complete.\n'
|
||||
f'Uploaded {len(dinos_data)} dinos as {official}')
|
||||
else:
|
||||
await self.bot.get_user(owner_id).send(f'There was an error with git push'
|
||||
f'\n{push_status}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user