Traceback (most recent call last):


 "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner

self.run()


 "test.py", line 46, in run

self.do_sth()


 "/home/conrad/workspace/root_class.py", line 41, in wrapper_2

wrapped_func(*func_args, **func_kwargs)


 "/home/conrad/.local/lib/python3.7/site-packages/tenacity/__init__.py", line 292, in wrapped_f

return self.call(f, *args, **kw)


 "/home/conrad/.local/lib/python3.7/site-packages/tenacity/__init__.py", line 358, in call

do = self.iter(retry_state=retry_state)


 "/home/conrad/.local/lib/python3.7/site-packages/tenacity/__init__.py", line 328, in iter

return self.retry_error_callback(retry_state=retry_state)


 "/home/conrad/.local/lib/python3.7/site-packages/tenacity/compat.py", line 300, in wrapped_retry_error_callback

return fn(retry_state.outcome)


 "/home/conrad/workspace/root_class.py", line 28, in lastRetryHandler

return last_attempt.outcome.result()
AttributeError: 'Future' object has no attribute 'outcome'
Traceback (most recent call last):


 "\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped

ret = await coro(*args, **kwargs)


 "C:\Users\\Desktop\Coding\Python\Lost... Bot\Cogs\staff.py", line 36, in guild

temp = await self.bot.fetch_template(code)


 "C:\Users\\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 1144, in fetch_template

return Template(data=data, state=self._connection)


 "C:\Users\\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\template.py", line 120, in __init__

self.source_guild = Guild(data=source_serialised, state=state)


 "C:\Users\\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\guild.py", line 190, in __init__

self._from_data(data)


 "C:\Users\\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\guild.py", line 308, in _from_data

cache_online_members = self._state._member_cache_flags.online


 "C:\Users\\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\template.py", line 75, in __getattr__

raise AttributeError('PartialTemplateState does not support {0!r}.'.format(attr))
AttributeError: PartialTemplateState does not support '_member_cache_flags'.
