Skip to content

Commit bdf710e

Browse files
committed
v1.2.8 - relationship fixes 😊
1 parent b558695 commit bdf710e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# License v3.0. A copy of this license is available at
66
# https://www.gnu.org/licenses/agpl-3.0.en.html
77

8-
app_version = "v1.2.7"
8+
app_version = "v1.2.8"
99

1010
import time
1111
import sys

restore.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def __init__(self, token, c: console.prnt, restore_server_folders, restore_data,
2424
self.restore_data = restore_data
2525

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

389389
headers={
390390
'Authorization' : f'Bot {self.bot_token}',
391+
"Accept-Encoding": "identify",
391392
'User-Agent': 'discord.py'
392393
}
393394
)

0 commit comments

Comments
 (0)