You can collect the users who write in the message section of the server you want and send them a direct message.
First Take CloudFlared Cookie from discord.com
EXAMPLE COOKIE TAKING VIDEO
<?php
include("sis.php");
$use = new autodc();
//get user list from cahnnel link
$use->getUsers("https://discord.com/channels/501090983539245061/597175122222252038");
//auto saved in userlist.txt
If you write [username] in the message to be sent, the username of the person you sent will be included.
<?php
include("sis.php");
$use = new autodc();
$myfile = fopen("userlist.txt", "r") or die("Unable to open file!");
$a = fread($myfile,filesize("userlist.txt"));
$ulist = explode("
", $a);
foreach($ulist as $liste){
$text = '[username] Hi this is test message';
//output : Suphi hi this is test message
$idvename = explode(":", $liste);
$text = str_replace('[username]', $idvename[1], $text);
$cahid = $use->getCahnelID($idvename[0]);
$use->sendMessage($text, $cahid);
}
Discord User API Coming Soon