Leres, di dieu aya potongan kode saderhana anu nyiptakeun bot Discord dina Python sareng ngajantenkeun éta ngawalon ku "Hello, dunya!" salaku réspon kana pesen naon waé: ```python ngimpor klien discord = discord.Client() @client.event async def on_ready(): print('Logged in as {0.user} '.format(client)) @client.event async def on_message(message): if message.author == client.user: return if message.content.startswith'!(hello'): tunggu pesen.channel.send('Hello, world!') client.run('your_bot_token_here') ```` Anjeun kedah ngagentos "your_bot_token_here" sareng bot Discord Developer anjeun
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence