Update handlers to allow returning users to obtain new match#18
Open
kumolonimbus wants to merge 12 commits into
Open
Update handlers to allow returning users to obtain new match#18kumolonimbus wants to merge 12 commits into
kumolonimbus wants to merge 12 commits into
Conversation
…tart No changes to process for new users. If user is a returning user, check if they have been assigned a match. If yes, prompts them to update bio; if no, tells user to wait for match.
…d status instead of insertNewReq for returning users
Added Sharon's edits and link to FB page
No time to add jokes db
Shifted password check from MessageHandler Filter to manual string matching (provides more info to users if password entered is incorrect)
add insertNewMatch and identicalMatchExists functions plus matches table; checks that identical match doesn't exist before proceeding to match users.
Set maximum of 5 matches daily using matches table querying, and inform user of number of remaining matches
In case we run into trouble by sharing telegram handles
Brings github up to date with the live code on Heroku. Copywriting edits for clarity; added random reply functionality and replyKeyboardMarkup to MessageHandler that catches unrecognized commands for some fun and less frustration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.