The widgets for discord guilds
https://discordapp.com/api/guilds/GUILD_ID/widget.png?style=shield
https://discordapp.com/api/guilds/GUILD_ID/widget.png?style=banner1
https://discordapp.com/api/guilds/GUILD_ID/widget.png?style=banner2
https://discordapp.com/api/guilds/GUILD_ID/widget.png?style=banner3
https://discordapp.com/api/guilds/GUILD_ID/widget.png?style=banner4
You must just replace the GUILD_ID in the link instead of the ID of your discord guild.
Go to Server Settings > Widget