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
Query | Description | Example |
---|---|---|
size | The size of the widget | widgets.infinitybots.gg/bot/187636089073172481?size=large |
theme | The widget background | widgets.infinitybots.gg/bot/187636089073172481?theme=light |
accent | The widget accent color | widgets.infinitybots.gg/bot/187636089073172481?accent=violet |
Available Query Params
Param | Description | Options |
---|---|---|
size | The size of the widget | small, large |
theme | The widget background | dark, light |
accent | The widget accent color | violet, 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