Skip to content

Dominos with Dominos Overhaul (#209)#222

Open
PointerRain wants to merge 6 commits into
mainfrom
dominos
Open

Dominos with Dominos Overhaul (#209)#222
PointerRain wants to merge 6 commits into
mainfrom
dominos

Conversation

@PointerRain

Copy link
Copy Markdown
Member

This PR overhauls the dominos coupons cog by using Domino's official sources of coupons. They are sourced using the process described in #209.
There are now two commands /dominos coupons and /dominos stores. Their capabilities are very similar but have slightly different filters and processes. The /dominos coupons command will list coupons in the same way as always but with an optional choice of store (default to St Lucia) and service method (Delivery or Pickup (or Dine-in exists technically)). The /dominos stores command works as described in #209, with the user selecting a store from a dropdown and viewing details about a store before viewing coupons. Instead of a 'no-check' flag, if a store matches the user's search term it will skip the selection process and only return that store.
The change also introduces a utils/dominos_utils.py file where the main searching and filtering logic is implemented.

@PointerRain PointerRain added enhancement update an existing command or cog for some new functionality new-command add a new command or cog for some new functionality labels Mar 24, 2025
@PointerRain PointerRain linked an issue Mar 24, 2025 that may be closed by this pull request
@PointerRain
PointerRain marked this pull request as ready for review March 25, 2025 12:12
@PointerRain PointerRain mentioned this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement update an existing command or cog for some new functionality new-command add a new command or cog for some new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dominos.......with Dominos

2 participants