Restcord channel-> getChannelMessages()给出错误的返回

问题描述 投票:0回答:1

我正在尝试加载在特定消息ID之后发布的所有消息,但无论我输入什么,它都会返回所有提供限制的消息。

示例消息ID:380407098300956691

我的守则;

$pull->channel->getChannelMessages(['channel.id' => 000000000000000000,'before'=> 0,'after'=> 380407098300956691,'around'=> 0,'limit'=> 20])

(摘自示例页面:http://www.restcord.com/Channel/Get%20Channel%20Messages/

我在这里错过了什么吗? (当然,000000000000000000是假的)

php rest api discord
1个回答
0
投票

似乎是Restcord发布中的一个问题,切换到dev分支解决了我的问题。

© www.soinside.com 2019 - 2024. All rights reserved.