freepizzas-dev / onebot

A barebones Discord bot based on nextcord.py that includes some basic modules to play around with.
MIT License
6 stars 0 forks source link

implement pagination for /gif, /google, /urbandictionary, and maybe /quote #3

Open freepizzas-dev opened 2 years ago

freepizzas-dev commented 2 years ago

With /image and /define commands having a nice pagination feature, it's time to think about adding this to other modules as well.

The obvious candidates are /gif, /google, /ud, and possibly /quote if it makes sense to have that for instances where more than one quote matches the search query.

The main obstacle is designing good Views for these modules and implementing buttons that work the way the user expects.

freepizzas-dev commented 2 years ago

Besides this, we need a sleek and obvious way for the user to hide the button controls when they're interacting with them. This should be the same for every command that spawns buttons and has this functionality.

Possible solution: a simple ❌ button that hides all buttons including itself on click