-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add #insiders-info interactions #255
Merged
Merged
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
Erisa
reviewed
Dec 31, 2024
Erisa
reviewed
Dec 31, 2024
Co-authored-by: Erisa A <erisa@erisa.uk>
Erisa
reviewed
Jan 2, 2025
Erisa
requested changes
Jan 2, 2025
Also changes usages to InsidersChannel; config.json accepts both, but only InsidersChannel can be used in code
Erisa
approved these changes
Jan 3, 2025
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.
Adds the stuff for #insiders-info. Closes #252.
Adds
/send-insiders-info-buttons
, which sends a simple message (only allowed in the configuredinsiderInfo
channel) with a couple of buttons. One button pops open a select menu that allows users to change their Insider roles. The other (after a confirmation message) grants users a chat role (configinsidersChat
underuserRoles
). If the user already has the role, it will be removed. This role must be added to config before merging!! We don't have a role for this yet, so I left it unconfigured.The select menu is sent in an ephemeral message after users click the "Choose your Insider roles" button so that it can dynamically reflect the state of their Insider roles. Users can select roles to get them, and unselect them to lose them.
Screen_Recording_2024-12-30_at_2.45.09_PM.mov
If the video doesnt want to play, it's also here https://discord.com/channels/150662382874525696/780516096335282206/1323376907705782273