Resources
Widgets

Widgets

Embeds or "Widgets" are images that can display your bots stats on your own website! On this page we will tell you how to access and customize them.


Usage

To use the embed, you can insert the following link as an IFrame or Image into your website / documentation.

Iframe

<iframe src="https://widgets.infinitybots.gg/bot/:botID/?size=small"/>

Markdown

![](https://widgets.infinitybots.gg/bot/:botID/?size=small)

Image Tag

<img src="https://infinitybots.gg/bots/<%= bots.botID %>/widget?size=large"></img> 

Customization

Customize your widget using our provided query params

QueryDescriptionExample
sizeThe size of the widgetwidgets.infinitybots.gg/bot/187636089073172481?size=large
themeThe widget backgroundwidgets.infinitybots.gg/bot/187636089073172481?theme=light
accentThe widget accent colorwidgets.infinitybots.gg/bot/187636089073172481?accent=violet

Available Query Params

ParamDescriptionOptions
sizeThe size of the widgetsmall, large
themeThe widget backgrounddark, light
accentThe widget accent colorviolet, blue, rose, emerald, amber, summer

NOTE: We have a default widget available by providing no query

NOTE: All query params are optional (example: you can use theme without any other query's)


Widget Preview

  • Here we used the markdown embed with the following params

?size=large&theme=light&accent=violet

  • The full url would look like this:

https://widgets.infinitybots.gg/bot/infinity-bot-list/?size=large&theme=light&accent=violet

Sample Widget