SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
688 stars 144 forks source link

bot isn't reading message content correctly #361

Closed mzxiethemuse closed 1 year ago

mzxiethemuse commented 1 year ago

i'm not sure what's happening, but even with the exact code in the wiki tutorial, when i try to check "message.content", it never returns true, even when a message with the exact content tht i'm checking for is sent.

mzxiethemuse commented 1 year ago

after more testing, i've found that any message sent simply returns nothing in the message.content, not even a nil, just nothing.

ravener commented 1 year ago

Make sure you enabled the Message Content intent in your bot's settings from the developer portal.

mzxiethemuse commented 1 year ago

oh my god i'm an idiot