Discord Server Setup

To set up the plugin correctly, you must create a Discord bot for your website and give it the correct permissions and settings. For beginning authorize in your profile on discord.com

Go to an applications page discord.com/developers/applications and press a New Application button in the top right corner.

You will be asked to assign a name and choose one that is comfortable to remember that this setup is for the website.

Now go to an OAuth2 page from the left side main menu. There, you will find a Redirects section. Use the Add Redirect button to add your domain name in the format https://my-site.com/

Now go to the Bot page from the left main menu and use the Add Bot button to add a new bot.

A new bot will appear. You can assign a username and an icon for the bot. This will be the name and avatar of messages the plugin sends from the website. If you scroll a little further, you will see the bot settings. You must disable the PUBLIC BOT option for proper work and enable the SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT options.

Now, go to the general settings of the server in your Discord application (it is not in discord.com/developers/ portal, look for it in the regular client) and go to the Widget page. There, enable the Enable Server Widget option.