issues
search
christianjokhaji
/
UHelper
A Discord bot created for a CSC207 group project at the University of Toronto.
4
stars
4
forks
source link
Feat: create paginator template + test with Recipe Embeds + handle edge cases of finding recipes
#16
Closed
xinyue296
closed
3 months ago
xinyue296
commented
3 months ago
Created a paginator template for displaying embeds because:
discord allows up to 10 embeds per message, but with a paginator, we can handle more
sending 10 separate embeds takes up a lot of space and is hard to follow
Managed to test the paginator template with Recipe Embeds
Handled edge cases in finding recipes to ensure the paginator handles scenarios where a user requests:
a negative number of recipes
more than 20 recipes per call
Grouped files by user case within existing packages
Added test files for the recipe feature
Fixed typo in
build.gradle.kts
iDasher
commented
3 months ago
Looks good!
build.gradle.kts