class aclient(discord.Client):
def __init__(self):
super().__init__(intents=discord.Intents.all())
self.synced = False
async def on_ready(self):
await self.wait_until_ready()
if not self.synced:
await tree.sync(guild=discord.Object(id="1069188530099716117"))
self.synced = True...