René's URL Explorer Experiment


Title: Interaction Framework by jasonlessenich · Pull Request #19 · Java-Discord/JavaBot2 · GitHub

Open Graph Title: Interaction Framework by jasonlessenich · Pull Request #19 · Java-Discord/JavaBot2

X Title: Interaction Framework by jasonlessenich · Pull Request #19 · Java-Discord/JavaBot2

Description: This PR adds the Interaction Framework which was mentioned in #8 Example new InteractionHandlerBuilder(responseBuilder) .addButtons( new ButtonAction("Dummy Button", ButtonStyle.PRIMARY) .handledBy(ButtonExample.class) .addParam(interaction.getUser().getId()), new ButtonAction("Dummy Button²", ButtonStyle.PRIMARY) .handledBy(ButtonExample.class) .addParam(interaction.getCommandId())) .addSelectionMenus( new SelectMenuAction() .handledBy(SelectMenuExample.class) .addOptions( SelectMenuOption.create("Label", "Value"), SelectMenuOption.create("Label²", "Value²")) .setMinValue(2) .setMaxValue(10) .setPlaceholder("Choose one!") ).getResponseBuilder();

Open Graph Description: This PR adds the Interaction Framework which was mentioned in #8 Example new InteractionHandlerBuilder(responseBuilder) .addButtons( new ButtonAction("Dummy Button", ButtonStyl...

X Description: This PR adds the Interaction Framework which was mentioned in #8 Example new InteractionHandlerBuilder(responseBuilder) .addButtons( new ButtonAction("Dummy Button", Bu...

Opengraph URL: https://github.com/Java-Discord/JavaBot2/pull/19

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:07ad6cef-41b2-eafe-0ce4-34e579547272
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86B6:30CF41:2D0F19:3BFCDD:697156B7
html-safe-nonceeaf9e19aaca484749d8c75e0d52b56a0a4377f80b4f955a3f5ac6ce210dcad3d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkI2OjMwQ0Y0MToyRDBGMTk6M0JGQ0REOjY5NzE1NkI3IiwidmlzaXRvcl9pZCI6IjEyNDEzODAyNzA1NTIyMDkwODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6a1b8e5a8e66c5d16475df8ca90169554bf5e5617ba3370c2b682f726ea7b1fa
hovercard-subject-tagpull_request:779898126
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Java-Discord/JavaBot2/pull/19/files
twitter:imagehttps://avatars.githubusercontent.com/u/48297101?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/48297101?s=400&v=4
og:image:altThis PR adds the Interaction Framework which was mentioned in #8 Example new InteractionHandlerBuilder(responseBuilder) .addButtons( new ButtonAction("Dummy Button", ButtonStyl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefd5876ec68f4a61d42f4010f6d1b2764d8ae314777de44028a7708a1d7bac1b5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Java-Discord/JavaBot2 git https://github.com/Java-Discord/JavaBot2.git
octolytics-dimension-user_id77415047
octolytics-dimension-user_loginJava-Discord
octolytics-dimension-repository_id422598431
octolytics-dimension-repository_nwoJava-Discord/JavaBot2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id422598431
octolytics-dimension-repository_network_root_nwoJava-Discord/JavaBot2
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8f48ed2345879fb640360c3a24f1d1780c3ed3cb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FJava-Discord%2FJavaBot2%2Fpull%2F19%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FJava-Discord%2FJavaBot2%2Fpull%2F19%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Java-Discord%2FJavaBot2
Reloadhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Reloadhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Reloadhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Java-Discord https://patch-diff.githubusercontent.com/Java-Discord
JavaBot2https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot2
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot2
Star 4 https://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot2
Code https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2
Issues 9 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/issues
Pull requests 3 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pulls
Actions https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/actions
Projects 0 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/projects
Wiki https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/security
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Insights https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pulse
Code https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2
Issues https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/issues
Pull requests https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pulls
Actions https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/actions
Projects https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/projects
Wiki https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/wiki
Security https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/security
Insights https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pulse
jasonlessenichhttps://patch-diff.githubusercontent.com/jasonlessenich
mainhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/tree/main
dynxsty/interaction_frameworkhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/tree/dynxsty/interaction_framework
Conversation 2 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19
Commits 6 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits
Checks 0 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/checks
Files changed https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Interaction Framework https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#top
Show all changes 6 commits https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
fdfe1e9 added Interaction Framework logic jasonlessenich Nov 13, 2021 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits/fdfe1e99b4fd5f8edc34e71467e261d1165b1537
1ff18bb replaced static `.create(...)` methods with interaction builders jasonlessenich Nov 13, 2021 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits/1ff18bbd3ec8b38dfaff39d8ed9496dec04e0e71
1aafd8c added some javadoc jasonlessenich Nov 13, 2021 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits/1aafd8cb248ea22d8cf9f3e9bdbe1e5aa1c08910
e6ba92a fixed indentation jasonlessenich Nov 13, 2021 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits/e6ba92a9cb220f20e0b9124dc5de7b398a976ae8
e5c09d3 added missing javadoc jasonlessenich Nov 13, 2021 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits/e5c09d3dd5740fbd8f6971b8a2a9492cc24bfd61
70c1d51 replaced JDA typo (lol) with Javacord jasonlessenich Nov 13, 2021 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/commits/70c1d51aa8ddadff5b83c9a78b6debaba3309616
Clear filters https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
Bot.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-5e9668b01d3aa2f3ec5d5c9b672b45ce24082879c498ae54de1d771b0e597e06
InteractionHandlerBuilder.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-f84328123498629033f0874b0e3c79a5443363daf398a2791c2a514e4af5defc
InteractionListener.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-f746accb2744864b0abf64ebc4329bdc240612674734c95f3885ac5536a5c97e
ButtonAction.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-7212621232d3bbece553e52ee1eca570da791b92e5405c66fc82d810996fee8a
ButtonHandler.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-8c72b49ed7b644f6c653574122c551b991254fea64fb56f9e03163ca6f4df724
SelectMenuAction.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-2d9496a71e34e557647f04c0e357803c47db24a77d9bc90da8c580eff93716df
SelectionMenuHandler.java https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-6043efd910b00dfe9e80f4b3a6cdc1233659f87eee37d6773890bd28311e0cc3
src/main/java/net/javadiscord/javabot2/Bot.javahttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-5e9668b01d3aa2f3ec5d5c9b672b45ce24082879c498ae54de1d771b0e597e06
View file https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/blob/70c1d51aa8ddadff5b83c9a78b6debaba3309616/src/main/java/net/javadiscord/javabot2/Bot.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-5e9668b01d3aa2f3ec5d5c9b672b45ce24082879c498ae54de1d771b0e597e06
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-5e9668b01d3aa2f3ec5d5c9b672b45ce24082879c498ae54de1d771b0e597e06
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-5e9668b01d3aa2f3ec5d5c9b672b45ce24082879c498ae54de1d771b0e597e06
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-5e9668b01d3aa2f3ec5d5c9b672b45ce24082879c498ae54de1d771b0e597e06
src/main/java/net/javadiscord/javabot2/command/interaction/InteractionHandlerBuilder.javahttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-f84328123498629033f0874b0e3c79a5443363daf398a2791c2a514e4af5defc
View file https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/blob/70c1d51aa8ddadff5b83c9a78b6debaba3309616/src/main/java/net/javadiscord/javabot2/command/interaction/InteractionHandlerBuilder.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/{{ revealButtonHref }}
src/main/java/net/javadiscord/javabot2/command/interaction/InteractionListener.javahttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-f746accb2744864b0abf64ebc4329bdc240612674734c95f3885ac5536a5c97e
View file https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/blob/70c1d51aa8ddadff5b83c9a78b6debaba3309616/src/main/java/net/javadiscord/javabot2/command/interaction/InteractionListener.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/{{ revealButtonHref }}
src/main/java/net/javadiscord/javabot2/command/interaction/button/ButtonAction.javahttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-7212621232d3bbece553e52ee1eca570da791b92e5405c66fc82d810996fee8a
View file https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/blob/70c1d51aa8ddadff5b83c9a78b6debaba3309616/src/main/java/net/javadiscord/javabot2/command/interaction/button/ButtonAction.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/{{ revealButtonHref }}
andrewlalishttps://patch-diff.githubusercontent.com/andrewlalis
Nov 15, 2021https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#r749413511
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
andrewlalishttps://patch-diff.githubusercontent.com/andrewlalis
Nov 15, 2021https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#r749414757
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
src/main/java/net/javadiscord/javabot2/command/interaction/button/ButtonHandler.javahttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files#diff-8c72b49ed7b644f6c653574122c551b991254fea64fb56f9e03163ca6f4df724
View file https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/blob/70c1d51aa8ddadff5b83c9a78b6debaba3309616/src/main/java/net/javadiscord/javabot2/command/interaction/button/ButtonHandler.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot2/pull/19/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.