How to send private message via DiscordPHP api

Posted in General by kuba17ism Sun Sep 11 2016 10:23:54 GMT+0000 (Coordinated Universal Time)·3·Viewed 1,949 times

Hi, can you tell me what can I send a private message via this api? (user type .help, bot send him message "List of all commands: blah blah blah" in private message).
Jack Hales
Feb 16, 2017

This never got replied to, I guess it's not in the API?

Oliver Schlöbe
May 21, 2017


Alexander Maassen
June 12, 2019

I may be late on this, but In some cases you need to use $message->author->user->sendMessage()

Markdown is allowed