#How to use bot (channel) settings from Discord

11 messages · Page 1 of 1 (latest)

remote widget
#

Discord has added an integration section where you can set up channels. My question is how to use it with discord.js because I did not find it in the guide?

bright lodgeBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

proven valve
#

Bot developers can only achive that via OAth2 with a user token that has administrator permissions in that server. The only thing you can do is set the default member permission, wich is a permissions bitfield such as Administrator or ManageChannels. Thats why it isnt in the guide

remote widget
#

Ah, that actually complicates things a bit 😕 . Thanks 🙂

floral herald
remote widget
#

Of course, I added a command to manage authorized channels

floral herald
#

What for? If the admins/owners want to do that they can do it in the discord settings directly. That’s exactly what that UI you showed is for…

remote widget
#

I have already tried with this interface but it does not work

floral herald
remote widget
#

I wanted to use the interface to manage the authorized channels for the Bot but it didn't work (even by blocking all the channels my Bot responds and the commands are accessible). Then I asked the question here...

severe wedge