File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ class DiscordLabs(Service):
621
621
622
622
.. seealso::
623
623
- `Discord Labs Website <https://bots.discordlabs.org/>`_
624
- - `Discord Labs API Documentation <https://docs.discordlabs.org/docs/api /api>`_
624
+ - `Discord Labs API Documentation <https://docs.discordlabs.org/# /api>`_
625
625
"""
626
626
627
627
BASE_URL = 'https://bots.discordlabs.org/v2'
@@ -660,6 +660,20 @@ def get_bot(self, bot_id: str) -> HTTPResponse:
660
660
path = f'/bot/{ bot_id } ' ,
661
661
)
662
662
663
+ def get_bot_votes (self , bot_id : str ) -> HTTPResponse :
664
+ """|httpres|\n
665
+ Gets the votes for this bot.
666
+
667
+ Parameters
668
+ -----------
669
+ bot_id: :class:`str`
670
+ The bot's ID.
671
+ """
672
+ return self ._request (
673
+ method = 'GET' ,
674
+ path = f'/bot/{ bot_id } /votes' ,
675
+ )
676
+
663
677
664
678
class DiscordListSpace (Service ):
665
679
"""
You can’t perform that action at this time.
0 commit comments