Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to suggest quotes if you don't have rights to add quotes #66

Open
geirawsm opened this issue Oct 7, 2024 · 0 comments
Labels
cog/quote Pertains to the quote cog enhancement New feature or request

Comments

@geirawsm
Copy link
Owner

geirawsm commented Oct 7, 2024

/quote add will add a quote directly to the DB, but should there also be a /quote suggest?
Also use a setting for this, a bool for if this should be activated or not.

flowchart TB
    suggest[quote suggest] -.-> channel[Add to #quote-suggest for approval]
    add[quote add] --> rowids[Get row ids from DB]
    rowids --> modal[Run modal for quote input]
    modal ---> dbhelper[Process in db_helper.py]
    dbhelper --> tabulate[tabulate the quote]
    tabulate --> confirm[Send added quote to interaction]
    confirm --> return[Return quote data as self.quote_out]
    return --> db
    channel -.-MOD-.-> choice[accept or deny in channel]
    choice -.-> dbhelper

Loading
@geirawsm geirawsm added enhancement New feature or request cog/quote Pertains to the quote cog labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cog/quote Pertains to the quote cog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant