discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
985 stars 236 forks source link

Minor code cleanup #1079

Open valzargaming opened 1 year ago

valzargaming commented 1 year ago

Made some readability changes and moved the resolved/reject handling code into functions outside of the Deferred constructor, and used === instead of ==

valzargaming commented 1 year ago

I think I fixed it now, should be good to test