I agree, we need a discord widget for our Guild as well. This needs to be added asap :)
Kane Bravo commented
Select your server on the server list. Click on the Server Settings option. Click on the Widget option. If the checkbox next to the Enable Server Widget is just like in the picture above, click on it to enable the server widget.
You can create a discord widget from the server settings page of your server. Check out this article https://blog.discordapp.com/add-the-discord-widget-to-your-site/
Once you have created the widget, you can copy and paste the code into our HTML widget. Make sure you paste the code into the source code editor. That button looks like this <>.