dogiadam
Hectopat
- Katılım
- 30 Kasım 2021
- Mesajlar
- 149
- Çözümler
- 3
Daha fazla
- Cinsiyet
- Erkek
JavaScript:
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
client = aclient()
tree = app_commands.CommandTree(client)
@tree.command(name="test")
async def test(interaction: discord.Interaction):
await interaction.response.send_message("Hello!")
Maalesef böyle çalışmıyor. Yardımınız lazım.