github-lines
github-lines copied to clipboard
Add Up and Down Arrow reaction buttons to see more code
It would be pretty neat if the bot reacted to its own message with up and down arrows.
Clicking them could then tell the bot to edit its own message to show more of the code in either direction.
If I have the time, I could try make this a reality!
Things to consider:
- undo reacts to undo a scroll? Need one for each arrow possibly
This is a really good idea, although I don't really know how this would work when a message has multiple snippets.
This is a really good idea, although I don't really know how this would work when a message has multiple snippets.
Maybe we could make the bot split them into multiple messages? Or just disable this feature for multi-snippets all together?
I certainly don't want to disable that feature, but splitting it up into multiple messages is a viable option
I certainly don't want to disable that feature, but splitting it up into multiple messages is a viable option
By disabling, I was referring to the up down arrows on multi snippets haha. What do you think is the best approach?
- Removing support for up down arrows on multi snippets
- Splitting multi snippets to several messages
Once we work this out, I'll try make this feature once I get the time 🚀
Oh that makes more sense
I think splitting multi snippets into several messages is probably the best approach.
I agree! If someone wants to get more code to lookup (or the link line is linked to the line above). Just i think to add the reaction collector, and the snippets will be deleted after a timeout!
Maybe my idea help :)