Getting started with in pythonista

I’ve just started trying to create a discord bot in Pythonista using an online tutorial, I installed StaSh and and I have the following code but I keep getting an error:

import discord

client = discord.Client()

async def on_ready():
    print('We have logged in as {0.user}'.format(client))

async def on_message(message):
    if == client.user:

    if message.content.startswith('$hello'):

the error is “no module named ‘ctypes.macholib’” and i don’t understand it at all. could someone please help? thanks!


Reposting as an answer. There is a solution this Github issue

Leave a Reply

Your email address will not be published. Required fields are marked *