Skip to content

Add /qotw-view command#338

Merged
jasonlessenich merged 7 commits intoJava-Discord:mainfrom
danthe1st:qotw-view
Aug 2, 2022
Merged

Add /qotw-view command#338
jasonlessenich merged 7 commits intoJava-Discord:mainfrom
danthe1st:qotw-view

Conversation

@danthe1st
Copy link
Member

@danthe1st danthe1st commented Aug 1, 2022

This PR adds a command /qotw-view that allows to query previous QOTWs and their answers,

Because of previous changes, bugs and database accesses, older QOTWs may not be shown correctly.

Suggestion: https://canary.discord.com/channels/648956210850299986/991625031421526047

Limitations

The (paginated) /qotw-view list-questions command only shows the current page number and not the total page count. This is because getting the total page count would require additionally running a similar SQL query.

@danthe1st danthe1st marked this pull request as ready for review August 2, 2022 11:47
@danthe1st danthe1st requested a review from a team as a code owner August 2, 2022 11:47
danthe1st and others added 3 commits August 2, 2022 19:44
Co-authored-by: Dynxsty <jasonlessenich@gmail.com>
Co-authored-by: Dynxsty <jasonlessenich@gmail.com>
@jasonlessenich jasonlessenich merged commit 55a2d3b into Java-Discord:main Aug 2, 2022
@danthe1st danthe1st deleted the qotw-view branch August 2, 2022 19:03
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.

2 participants