We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e37aeb7 commit d93689eCopy full SHA for d93689e
core/utils/bot.py
@@ -53,6 +53,7 @@ async def load_prompt(bot) -> None:
53
author_cache = os.path.abspath(PrivateAssets.path + '/cache_restart_author')
54
loader_cache = os.path.abspath(PrivateAssets.path + '/.cache_loader')
55
no_load_succ = os.path.abspath(PrivateAssets.path + '/xtex_no_load_succ')
56
+ author = None
57
if os.path.exists(author_cache):
58
open_author_cache = open(author_cache, 'r')
59
author = json.loads(open_author_cache.read())['ID']
0 commit comments