Skip to content

Commit 7f72131

Browse files
committed
v1.2.2
1 parent 196d865 commit 7f72131

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dbots/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__author__ = 'Snazzah'
33
__license__ = 'MIT'
44
__copyright__ = 'Copyright 2020 Snazzah'
5-
__version__ = '1.2.1'
5+
__version__ = '1.2.2'
66

77
from collections import namedtuple
88
import logging
@@ -15,7 +15,7 @@
1515

1616
VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial')
1717
version_info = VersionInfo(
18-
major = 1, minor = 2, micro = 1,
18+
major = 1, minor = 2, micro = 2,
1919
releaselevel = 'final', serial = 0
2020
)
2121

dbots/service.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1058,18 +1058,18 @@ def get_widget_url(self, bot_id: str, **query) -> str:
10581058

10591059
class DiscordBotList(Service):
10601060
"""
1061-
Represents the Discord Boats service.
1061+
Represents the Discord Bot List service.
10621062
10631063
.. seealso::
1064-
- `Discord Boats Website <https://discord.boats/>`_
1065-
- `Discord Boats API Documentation <https://discord.boats/api/docs/>`_
1064+
- `Discord Bot List Website <https://discordbotlist.com/>`_
1065+
- `Discord Bot List API Documentation <https://discordbotlist.com/api-docs/>`_
10661066
"""
10671067

1068-
BASE_URL = 'https://discord.boats/api/v2'
1068+
BASE_URL = 'https://discordbotlist.com/api'
10691069

10701070
@staticmethod
10711071
def aliases() -> list:
1072-
return ['discordboats', 'discord.boats', 'dboats']
1072+
return ['discordbotlist', 'discordbotlist.com', 'dbotlist']
10731073

10741074
@staticmethod
10751075
def _post(

0 commit comments

Comments
 (0)