Replies: 1 comment
-
You have typo with triple s in $guild = $discord->guilds->get('id', [guildid]);
$channel = $guild->channels->get('id', [channelid]);
$channel->messages->fetch([messageid], true)->then(function (Message $message) {
return $message->reply("Reply to [messageid]");
})->done(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically have the [messageid] stored and I want to be able to reply back it in the future but having now luck with the following:
$guild and $channel are returning values, but it never returns the promise. Would love some insight into how this should be fone.
Beta Was this translation helpful? Give feedback.
All reactions