-
-
Notifications
You must be signed in to change notification settings - Fork 1
Allow multiple webhooks and Instagram accounts #46
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
Draft
RyanLua
wants to merge
5
commits into
main
Choose a base branch
from
add-multiple-webhooks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
Fixes #20 Add support for multiple webhooks and Instagram accounts. * **Parser Updates:** - Update `parser.add_argument` for `instagram_username` to accept multiple usernames. - Update `parser.add_argument` for `discord_webhook_url` to accept multiple URLs. - Update help text to reflect the new functionality. * **Main Logic Updates:** - Update `args.instagram_username` to handle a list of usernames. - Update `args.discord_webhook_url` to handle a list of URLs. - Update `check_for_new_posts` function to iterate over multiple Instagram accounts and webhooks. - Update `send_to_discord` function to handle multiple webhooks. * **Documentation Updates:** - Update `docs/source/usage.rst` to show usage with multiple Instagram usernames and Discord webhook URLs. - Update `docs/source/getting-started.rst` to reflect the new functionality of specifying multiple webhooks or Instagram accounts. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/RyanLua/InstaWebhooks/issues/20?shareId=XXXX-XXXX-XXXX-XXXX).
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
Files not reviewed (2)
- docs/source/getting-started.rst: Language not supported
- docs/source/usage.rst: Language not supported
Signed-off-by: GitHub <[email protected]>
…staWebhooks into add-multiple-webhooks
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.
Fixes #20
Add support for multiple webhooks and Instagram accounts.
Parser Updates:
parser.add_argument
forinstagram_username
to accept multiple usernames.parser.add_argument
fordiscord_webhook_url
to accept multiple URLs.Main Logic Updates:
args.instagram_username
to handle a list of usernames.args.discord_webhook_url
to handle a list of URLs.check_for_new_posts
function to iterate over multiple Instagram accounts and webhooks.send_to_discord
function to handle multiple webhooks.Documentation Updates:
docs/source/usage.rst
to show usage with multiple Instagram usernames and Discord webhook URLs.docs/source/getting-started.rst
to reflect the new functionality of specifying multiple webhooks or Instagram accounts.Checklist
02/05/2025 10:16:04 PM - INFO - Monitoring '['raenlua']' every 3600 seconds on ̀['https://discord.com/api/webhooks/1336821555593871451/pXDkxuqdOJ3VLi8jUFbiXco91_GFKPKC_emRNF3KvVaU3wJkuqWhgB25yollvLoHaR-D']
For more details, open the Copilot Workspace session.