Skip to content
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 !r command to auto-react to questions #34

Closed
wants to merge 5 commits into from

Conversation

ani-per
Copy link
Contributor

@ani-per ani-per commented Nov 28, 2024

This adds an !r command to allow the bot to auto-react with appropriate point amounts for playtesting purposes. Demo:

image

Aside: there's a bug in DiscordJS that prevents reacting with default emoji like 0️⃣, so I just uploaded duplicates of the relevant emoji to my version of the bot (Botero). If this is merged, then you'll have to add them to Botticelli/Bottesini too. I've attached them below.

emojis.zip

@ani-per
Copy link
Contributor Author

ani-per commented Nov 28, 2024

image

Added aggregate markers per Jordan's suggestion. Updated zip file: emojis.zip

@ani-per
Copy link
Contributor Author

ani-per commented Nov 29, 2024

Properly implemented the auto-react with inbuilt application emojis (previous commits were hard-coded which isn't good practice since emoji IDs change per upload). This requires a bump to DiscordJS version 14.16 to accommodate application emoji API: discordjs/discord.js#10399

image

…rver channel type; improve results interface by adding emojis; better thread names; auto-add author of question to results thread
@ani-per
Copy link
Contributor Author

ani-per commented Nov 30, 2024

Closing this since I've reworked the framework based on Ophir's (@hftf) suggestion to distinguish between channels for internal/asynchronous playtesting and bulk/react playtesting. New PR incoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant