You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only just installed composer and started using this so may be something stupid that I'm doing wrong..
$bountyecon is the channel ID
When trying to call $discord->channel->getChannel($bountyecon);
I'm getting :
Fatal error: Uncaught TypeError: Argument 2 passed to GuzzleHttp\Command\Guzzle\GuzzleClient::getCommand()
The text was updated successfully, but these errors were encountered:
After getting the token following oauth2 login I'm using
$token = $_SESSION['access_token'];
$discord = new DiscordClient(['token' => '$token','tokenType' => 'OAuth']);
var_dump($discord->channel->getChannelMessages(['channel.id' => 924525362489221180]));
Not had issues with APIs before but always had an issue using api's with oauth so I know I'm being stupid somewhere
Only just installed composer and started using this so may be something stupid that I'm doing wrong..
$bountyecon is the channel ID
When trying to call $discord->channel->getChannel($bountyecon);
I'm getting :
Fatal error: Uncaught TypeError: Argument 2 passed to GuzzleHttp\Command\Guzzle\GuzzleClient::getCommand()
The text was updated successfully, but these errors were encountered: