Skip to content

Commit

Permalink
v1.2.8 - relationship fixes 😊
Browse files Browse the repository at this point in the history
  • Loading branch information
itschasa committed Nov 2, 2023
1 parent b558695 commit bdf710e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# License v3.0. A copy of this license is available at
# https://www.gnu.org/licenses/agpl-3.0.en.html

app_version = "v1.2.7"
app_version = "v1.2.8"

import time
import sys
Expand Down
5 changes: 3 additions & 2 deletions restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def __init__(self, token, c: console.prnt, restore_server_folders, restore_data,
self.restore_data = restore_data

if self.restore_data['version'] != version:
self.c.warn(f"This Backup wasn't done on the same version of this software. (backup: {self.restore_data['version']}, current version:{version})")
self.c.warn(f"This Backup wasn't done on the same version of this software. (backup: {self.restore_data['version']}, current version: {version})")
self.c.warn(f"This could lead to unexpected errors or side effects.")
self.c.warn(f"It's recommended you change your software version to the same version as the backup was done on before continuing.")
self.c.inp(f"Are you sure you want to continue? ({colours['main_colour']}y/n{colours['white']})", end=f"{colours['white']}")
self.c.inp(f"Are you sure you want to continue? ({colours['main_colour']}y/n{colours['white']}) ", end=f"{colours['white']}")
warning_continue = input()
if warning_continue != "y":
self.fatal_error = "Chose to stop restore"
Expand Down Expand Up @@ -388,6 +388,7 @@ def _get_user_info(self, userid):

headers={
'Authorization' : f'Bot {self.bot_token}',
"Accept-Encoding": "identify",
'User-Agent': 'discord.py'
}
)
Expand Down

0 comments on commit bdf710e

Please sign in to comment.