Before you start
identify and guilds scopes when a server connects and refuses the connect if either is missing. The bot permissions are part of the install link, so you do not set them in the portal.
Create the app
Create the application
Set up the bot
- Upload an icon for the bot. The channel’s picture in PostQueen is the bot’s avatar, and without one the channel connects with no picture.
- Choose Reset Token and copy the token. Discord shows it once.
- Keep Public Bot on if people other than you will connect their servers. With it off, only the application’s owner can add the bot.
Add the redirect URI
FRONTEND_URL + /integrations/social/ + the network’s identifier, for example
https://postqueen.example.com/integrations/social/pinterest.Most networks need exactly one URI, with no trailing slash. Two exceptions: TikTok Business needs
the trailing slash (/integrations/social/tiktok-business/), and a Google web client that also
serves Google Business Profile lists both /integrations/social/youtube and
/integrations/social/gmb. Channel developer apps lists every
network’s ending.Copy the client ID and secret
Set the variables
Add the three values to your environment:docker restart or
docker compose restart keeps the old container and its old environment.
In the folder that holds docker-compose.yaml, recreate only the postqueen service:
docker compose down for a settings change: on
a host that runs other Compose services in the same project, it stops them too.
Then open PostQueen, go to Channels, choose Add Channel and pick this network. You are
sent to its login to authorize PostQueen, and the channel appears in the Channels list once you
accept.
App review
Discord needs no review to start. Once the bot is in 100 servers, Discord requires the application’s owner to verify their identity before the bot can join more. See Discord’s verification guide.Troubleshooting
Not enough scopes, when choosing a provider, please add all the scopes
Not enough scopes, when choosing a provider, please add all the scopes
identify or guilds. Connect again and approve everything on the consent screen.Discord says the redirect_uri is invalid
Discord says the redirect_uri is invalid
FRONTEND_URL followed by /integrations/social/discord. Check the scheme, the port and that there is no trailing slash.The server is not offered on the consent screen
The server is not offered on the consent screen
The channel picker is empty
The channel picker is empty
DISCORD_BOT_TOKEN_ID is missing or wrong, or the token was reset after you copied it. Copy a fresh token from the Bot page and recreate the container.The PostQueen bot cannot see this channel. Give it View Channel, or add it back to the server.
The PostQueen bot cannot see this channel. Give it View Channel, or add it back to the server.
Pictures or link previews do not come through
Pictures or link previews do not come through