Closed CatAnonymous closed 1 year ago
I have 2 questions:
Is it possible to get attachments (images, text, audio...) from users?
Please give me the solution, thankyou!
$discord->on('ready', function (Discord $discord) { echo "Bot is online!", PHP_EOL; $discord->on(Event::MESSAGE_CREATE, function (Message $message, Discord $discord) { echo "{$message->author->username}: {$message->content}", PHP_EOL; $message->reply('...'); }
I have 2 questions:
Is it possible to get attachments (images, text, audio...) from users?
Please give me the solution, thankyou!