SinisterRectus / Discordia

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

Running example code, and getting error 403. #341

Closed hdmi0691 closed 2 years ago

hdmi0691 commented 2 years ago

Hi, I ran Discordia's template code, and any time when I say !ping, it says: [ERROR] | 403 - Forbidden : POST https://discord.com/api/v7/channels/blahblahblah What do I do?

t3duk commented 2 years ago

Well... blah blah isn't a channel or guild ID, is it?

object-Object commented 2 years ago

If the template code is unmodified except for adding the token, check and see if the bot has permission to send messages in the channel you ran the command in. Also, the best way to get help with your code is to join the Discord API or Discordia servers, rather than opening an issue on GitHub.

hdmi0691 commented 2 years ago

If the template code is unmodified except for adding the token, check and see if the bot has permission to send messages in the channel you ran the command in. Also, the best way to get help with your code is to join the Discord API or Discordia servers, rather than opening an issue on GitHub.

Yes, i gave bot perms

object-Object commented 2 years ago

Can you please join one of the servers I linked? It'll be easier to troubleshoot there.