オンライン チュートリアルを使用して Pythonista で不協和音ボットを作成しようとしたところ、StaSh と discord.py をインストールしました。
import discord
client = discord.Client()
@client.event
async def on_ready():
print('We have 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'):
await message.channel.send('Hello!')
client.run("my_token")
エラーは「'ctypes.macholib' という名前のモジュールがありません」で、まったくわかりません。誰か助けてくれませんか?ありがとう!