Discord roling
You may find yourself wanting to have your customers join your Discord server and optionally getting a role post-purchase. With SellApp, this is possible by using your own Discord bot.
Video Guide
We've created a step-by-step video guide that will help you set up and configure your Discord bot correctly. If you prefer a text-based guide, please proceed to scroll down.
Setup and configure bot
To start setting up the roling functionality, you'll want to create a Discord bot in the Discord bot dashboard
-
Click "New Application" at the top right hand side,
-
Once your bot is created, retrieve your client ID and secret from here, then add the following three redirect URL's on the same page:
- https://sell.app/discord/connect-account
- https://sell.app/discord/connect-customer
- https://sell.app/discord/connect-guild
-
Finally, retrieve your bot token from here
Once done, paste the client ID, client secret, and bot token in your SellApp settings and save.
Add account and server
Now that your bot credentials have been set and saved, the next step is to add your account and server.
- Click "Add Account" in your SellApp settings. You will be redirected to Discord, grant the permissions and you will be redirected back to SellApp.
Make sure to edit your Discord server and put the bot's role above the role(s) you are trying to grant. If you don't do so, the bot will not be able to assign the role(s) to the customer's Discord account after a successful purchase.
- Click the three dots at the end of your account name and click the "Show" option. Click the "+" icon next to "Guilds". You will be redirected to Discord, select the server you want your customers to be added to and optionally roled on.
- That's all done. You can now see the "Community" option when creating/editing a product and specify which server and role the customer gets, plus an option to make Discord authorization mandatory or not.
You will also be able to update your products in bulk. Select the checkbox at the left hand side on your products dashboard -> "Select All" -> "Bulk Update" -> "Discord Data"
Happy selling!