Change request token request to post
This commit is contained in:
@@ -102,7 +102,7 @@ class RadioAPIClient:
|
||||
str: A token for the bot to use
|
||||
"""
|
||||
print(f"Fetching a token from {self.base_url}/request_token")
|
||||
return await self._request("GET", "/request_token")
|
||||
return await self._request("POST", "/request_token")
|
||||
|
||||
async def send_command(self, client_id: str, command_name: str, args: list = None):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user