You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Import Discord.jl.using Discord
# Create a client.
c =Client("token"; presence=(game=(name="with Discord.jl", type=AT_GAME),))
# Create a handler for the MessageCreate event.functionhandler(c::Client, e::MessageCreate)
# Display the message contents.println("Received message: $(e.message.content)")
# Add a reaction to the message.create(c, Reaction, e.message, '👍')
end# Add the handler.add_handler!(c, MessageCreate, handler)
# Log in to the Discord gateway.open(c)
# Wait for the client to disconnect.wait(c)
doesn't seem to be working (sure, I am replacing "token" with the real one). I am getting this chain of errors:
Hi,
The minimal example provided in the README.md
doesn't seem to be working (sure, I am replacing "token" with the real one). I am getting this chain of errors:
The similar example with the same exact DISCORD_TOKEN in Python is working so the the problem is not rooted at the API key.
Hope this issue will help improving the library.
Thank you in advance.
The text was updated successfully, but these errors were encountered: