We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4967bd commit 007b610Copy full SHA for 007b610
dbots/service.py
@@ -1439,7 +1439,9 @@ def get_bot(self, bot_id: str) -> HTTPResponse:
1439
"""
1440
return self._request(
1441
method='GET',
1442
- path=f'/bots/{bot_id}'
+ path=f'/bots/{bot_id}',
1443
+ headers={'Authorization': self.token},
1444
+ requires_token=True
1445
)
1446
1447
def get_user(self, user_id: str) -> HTTPResponse:
@@ -1453,7 +1455,9 @@ def get_user(self, user_id: str) -> HTTPResponse:
1453
1455
1454
1456
1457
- path=f'/user/{user_id}'
1458
+ path=f'/user/{user_id}',
1459
1460
1461
1462
1463
0 commit comments