@@ -363,75 +363,6 @@ def get_widget_url(self, bot_id: str, **query) -> str:
363
363
"""
364
364
return f'{ BotsForDiscord .BASE_URL } /bot/{ bot_id } /widget?{ _encode_query (query )} '
365
365
366
- class BotsOfDiscord (Service ):
367
- """
368
- Represents the Bots Of Discord service.
369
-
370
- .. seealso::
371
- - `Bots Of Discord Website <https://b-o-d.cf/>`_
372
- """
373
-
374
- BASE_URL = 'https://www.b-o-d.cf/api'
375
-
376
- @staticmethod
377
- def aliases () -> list :
378
- return ['botsofdiscord' , 'b-o-d' , 'b-o-d.cf' ]
379
-
380
- @staticmethod
381
- def _post (
382
- http_client : HTTPClient , bot_id : str , token : str ,
383
- server_count = 0 , user_count = 0 ,
384
- voice_connections = 0 , shard_count : int = None ,
385
- shard_id : int = None
386
- ) -> HTTPResponse :
387
- payload = { 'server_count' : server_count }
388
- if shard_id and shard_count :
389
- payload ['shard_count' ] = shard_count
390
- return http_client .request (
391
- method = 'POST' ,
392
- path = f'{ BotsOfDiscord .BASE_URL } /bots/stats' ,
393
- headers = { 'Authorization' : token },
394
- json = payload
395
- )
396
-
397
- def get_bot_stats (self , bot_id : str ) -> HTTPResponse :
398
- """|httpres|\n
399
- Gets the bot's stats on this service.
400
-
401
- Parameters
402
- -----------
403
- bot_id: :class:`str`
404
- The bot's ID.
405
- """
406
- return self ._request (
407
- method = 'GET' ,
408
- path = f'/bot/{ bot_id } /stats'
409
- )
410
-
411
- def get_bot_votes (self ) -> HTTPResponse :
412
- """|httpres|\n
413
- Gets the list of people who voted this bot on this service.
414
- """
415
- return self ._request (
416
- method = 'GET' ,
417
- path = f'/bot/votes' ,
418
- requires_token = True
419
- )
420
-
421
- def get_user (self , user_id : str ) -> HTTPResponse :
422
- """|httpres|\n
423
- Gets the user listed on this service.
424
-
425
- Parameters
426
- -----------
427
- user_id: :class:`str`
428
- The user's ID.
429
- """
430
- return self ._request (
431
- method = 'GET' ,
432
- path = f'/users/{ user_id } '
433
- )
434
-
435
366
class BotsOnDiscord (Service ):
436
367
"""
437
368
Represents the Bots On Discord service.
@@ -1948,7 +1879,7 @@ def get_unverified_bots(self) -> HTTPResponse:
1948
1879
)
1949
1880
1950
1881
Service .SERVICES = [
1951
- Arcane , BotListSpace , BotsForDiscord , BotsOfDiscord , BotsOnDiscord , Carbon ,
1882
+ Arcane , BotListSpace , BotsForDiscord , BotsOnDiscord , Carbon ,
1952
1883
DBLista , DiscordBotsGG , DiscordAppsDev , DiscordBoats ,
1953
1884
DiscordBotList , DiscordBotWorld , DiscordExtremeList , GlennBotList ,
1954
1885
LBots , ListMyBots , MythicalBots , SpaceBotsList , TopGG , WonderBotList , YABL
0 commit comments