Skip to content

Commit 88a92ec

Browse files
committed
fix: reflect change on widgets within docs
1 parent 3371ae9 commit 88a92ec

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Top.gg Python SDK
99

1010
For more information, see the documentation here: https://topggpy.rtfd.io.
1111

12-
The community-maintained Python library for Top.gg.
12+
The community-maintained Python SDK for Top.gg.
1313

1414
Chapters
1515
--------
@@ -124,28 +124,28 @@ Large
124124

125125
.. code-block:: python
126126
127-
widget_url = topgg.Widget.large(topgg.ProjectType.DISCORD_BOT, 1026525568344264724)
127+
widget_url = topgg.Widget.large(topgg.Platform.DISCORD, topgg.ProjectType.BOT, 1026525568344264724)
128128
129129
Votes
130130
^^^^^
131131

132132
.. code-block:: python
133133
134-
widget_url = topgg.Widget.votes(topgg.ProjectType.DISCORD_BOT, 1026525568344264724)
134+
widget_url = topgg.Widget.votes(topgg.Platform.DISCORD, topgg.ProjectType.BOT, 1026525568344264724)
135135
136136
Owner
137137
^^^^^
138138

139139
.. code-block:: python
140140
141-
widget_url = topgg.Widget.owner(topgg.ProjectType.DISCORD_BOT, 1026525568344264724)
141+
widget_url = topgg.Widget.owner(topgg.Platform.DISCORD, topgg.ProjectType.BOT, 1026525568344264724)
142142
143143
Social
144144
^^^^^^
145145

146146
.. code-block:: python
147147
148-
widget_url = topgg.Widget.social(topgg.ProjectType.DISCORD_BOT, 1026525568344264724)
148+
widget_url = topgg.Widget.social(topgg.Platform.DISCORD, topgg.ProjectType.BOT, 1026525568344264724)
149149
150150
Webhooks
151151
~~~~~~~~

0 commit comments

Comments
 (0)