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

Quick_any and find_any #27

Open
JDJGInc opened this issue Aug 15, 2024 · 2 comments
Open

Quick_any and find_any #27

JDJGInc opened this issue Aug 15, 2024 · 2 comments

Comments

@JDJGInc
Copy link
Member

JDJGInc commented Aug 15, 2024

quick_any gives any video from content basically

url = await self.bot.db.fetchrow("SELECT * from content where content_type = $1 ORDER BY RANDOM()")

Find_any:

allows you to search through
content_type (will likely link to the enum that exists)
service
user

(Service and user are both normal lookup)

And possibly may need updating the format to support quick_any and finding a way to support the find methods.

which would require the translation project to be restarted and re-contact translators.

@dave9123
Copy link
Contributor

What's the difference? Just accept topic argument on find_any

@JDJGInc
Copy link
Member Author

JDJGInc commented Aug 16, 2024

What's the difference? Just accept topic argument on find_any

Find also you the choice to choose.
quick just gives it you regardless no need for setup.

There's an important difference.

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

No branches or pull requests

2 participants