Pages

06 June, 2024

Laracord: Create Discord bots with Laravel

Hello everyone! I'd like to share what I think is a pretty fun little project I've been working on since January called Laracord.

I set out to make a Discord bot late last year quickly matching DiscordPHP with Laravel Zero. While it was pretty easy to get up and rolling, it quickly became clear that DiscordPHP, being a raw library structured around the Discord API, was missing some serious DX leaving a lot to be desired.

In January I decided to abstract what I had so far and do an initial release. Fast-forward a few months and Laracord has grown far past what I initially had in mind. It is packed with features and I think it is turning out to be pretty fun to use!

If this sounds like your cup of tea, I'd love for you to check it out:

Features



* Out of the box support for databases, caching, and many other Laravel features.
* Instantly generate working bot commands and event listeners with 0 knowledge.
* Automatic handling of registering/updating/unregistering application slash commands.
* Easy to use interaction routing for persistence on message buttons and actions.
* Generate asynchronous services/tasks that run parallel to the bot.
* Optional HTTP Server with native Laravel routing and Livewire support.
* Fully configurable and extendable.
* Beautiful console logging with timestamps.
* Fully documented and maintained.




Documentation



* Website:
https://laracord.com /> * Docs:
https://laracord.com/docs /> * Discord:
https://laracord.com/discord />

submitted by /u/Log1x
[link] [comments]

No comments:

Post a Comment

Thanks