Skip to content

Commit e966c9e

Browse files
committed
Hotfix DBLista
1 parent bfcf8f5 commit e966c9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: dbots/service.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,10 @@ def search(self, query: str) -> HTTPResponse:
786786
query: :class:`str`
787787
The query to search for.
788788
"""
789+
uri = _encode_uri(query, safe='~()*!.\'')
789790
return self._request(
790791
method = 'GET',
791-
path = f'/bots/search/{_encode_uri(query, safe='~()*!.\'')}'
792+
path = f'/bots/search/{uri}'
792793
)
793794

794795
class DiscordBotsGG(Service):

0 commit comments

Comments
 (0)