【问题标题】:Restcord channel->getChannelMessages() gives the wrong returnRestcord channel->getChannelMessages() 给出错误的返回
【发布时间】:2018-04-29 08:37:07
【问题描述】:

我正在尝试加载在特定消息 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】:

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

    【讨论】:

      猜你喜欢
      • 2012-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-17
      • 1970-01-01
      • 2014-10-04
      相关资源
      最近更新 更多