Giter VIP home page Giter VIP logo

tsubakibotpad / discord-menu Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 4.0 109 KB

A library for creating stateless dynamic discord menus. Supports complex paginated or tabbed navigation with discord reactions.

Home Page: https://discord.gg/xB4xKksDSB

License: Apache License 2.0

Python 100.00%
discord discord-bot menu python components components-menu discord-buttons discord-buttons-menu discord-embed discord-emojis

discord-menu's People

Contributors

chasehult avatar ethanngoh avatar rheingoldriver avatar tsubakibotpad avatar turtleworks avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discord-menu's Issues

Create PaginatedEmbed

Create PaginatedEmbed, an embed that automatically is paginated when it goes over character count, the delimiter being fields

Example:
image

keyboard-based navigation!!!!!!!!!

^1 ^2 ^3 navs you to the nth page of the menu

^^1 ^^2 ^^3 (i.e. the prefix x2) navs you to the nth page of the 2nd-to-most-recent menu (for 2-layer menus)

When scrolling support throwing up a no_entry / forbidden emoji at the end briefly (Say 3 seconds)

When scrolling support throwing up a no_entry / forbidden emoji at the end briefly (Say 3 seconds)

Currently we don't have a great mechanism to say "no you can't click this" - right now some of the screens in ID are throwing errors, maybe we leave them that way and put a try/catch around every transition so this is a feature not a bug? and to trigger this deliberately we could raise some custom exception idk lol

Change page on menu *unreact* in DM (aradia's idea)

in DM only because sometimes the bot gets rate-limited out of DM and it could be confusing/annoying if it did this outside of DM to people who don't expect the behavior

we could also make this behavior configurable; if so, then in padinfo we'll gate this behind an idset

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.