-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DoorDash plugin ($500) #488
Labels
Comments
VirtualHorror
added a commit
to VirtualHorror/Friend
that referenced
this issue
Aug 7, 2024
Related to BasedHardware#488 Add functionality to order food from DoorDash * **community-plugins.json**: Add a new plugin entry for DoorDash with id "doordash", name "DoorDash", author "Your Name", description "Order food from DoorDash", image "/plugins/logos/doordash.png", capabilities ["chat"], and chat_prompt "Order food from DoorDash". * **app/lib/backend/http/api/plugins.dart**: Add a new function `Future<bool> orderFoodFromDoorDash(String food)` to handle DoorDash orders by sending a POST request to the DoorDash API. * **app/lib/backend/http/api/messages.dart**: Update the `sendMessageServer` function to handle DoorDash orders by checking if the message text contains "I want *** food from doordash" and calling the `orderFoodFromDoorDash` function with the food item. Return a `ServerMessage` indicating the order status. * **backend/routers/chat.py**: Update the `send_message` function to handle DoorDash orders by checking if the message text contains "I want *** food from doordash" and calling the `order_food_from_doordash` function with the food item. Return a `Message` indicating the order status. Add a new function `order_food_from_doordash` to simulate the DoorDash API call.
Closed
Hi @kodjima33 and @josancamon19 I can take this , please assign me this issue! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need a plugin so that you could order DoorDash if you mention "I want *** food from doordash"
The text was updated successfully, but these errors were encountered: