Python ile Discord botu kodlarken "test" is not found hatası

hamzaoguz

Centipat
Katılım
21 Aralık 2021
Mesajlar
23
Daha fazla  
Cinsiyet
Erkek
@bot.command(name='test')
async def test(ctx):
await ctx.send('Hello world!')

Yazdığım kod bu.

[2022-09-11 21:59:28] [ERROR ] discord.ext.commands.bot: Ignoring exception in command None
discord.ext.commands.errors.CommandNotFound: Command "test" is not found

Bu da verdiği hata.
 
Ben her zaman tersine mühendislik ile öğrenmişimdir, herkesin çalışma metodu farklı.
bu arada
intents.message_content = True
kodu ile çözdüm sorunumu şu aralar birinden çok yardım almaya ihtiyacım var öğrenmem açısından yardım edebilir misin acaba ? öğretmek öğrenmenin en hızlı yoludur sonuçta bildiğini pekiştirirsin
 

Yeni konular

Geri
Yukarı