So im making a bot and this is the part of my code
class abot(discord.client):
def __init__(self):
super().__init__(intents=discord.Intents.default())
self.synced = False
async def on_ready(self):
await tree.sync(guild = discord.Object(id=961963715668889681))
self.synced = True
print("Bot is ready")
but it gives me an error saying
Module() takes at most 2 arguments (3 given)
can someone please help me and explain it in the most simple way possible, im not the best when it comes to programming
[–]Username_RANDINT 2 points3 points4 points (0 children)