Category: PHP, javascript

But in this tutorial, I will show you how you can use asynchronous PHP to create a simple joke bot. The first thing you need to do is head over to the Discord developer portal and create a new application.

You will need to update 'token' => '' with the token for your bot.

Copy and paste the link in your browser's address bar, hit enter, and follow the instructions to add the bot to your server.

Thank you for reading this article; I hope you found it helpful and that I might have sparked a few ideas for your next project.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners