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

Missing FrecencyUserSettings #781

Open
jsoncitron opened this issue Jan 17, 2025 · 1 comment
Open

Missing FrecencyUserSettings #781

jsoncitron opened this issue Jan 17, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@jsoncitron
Copy link

Summary

Cannot get or fetch FrecencyUserSettings without using internal requester

What is the feature request for?

The core library

The Problem

Favorite emoji/gifs management

The Ideal Solution

To be able to do bot.fetch_frecency_user_settings() and FrecencyUserSettings.edit()

The Current Solution

data = await bot.http.get_proto_settings(2)
settings = FrecencyUserSettings.FromString(b64decode(data['settings']))

await bot.http.edit_proto_settings(2, 'base64 encoded thingy')

Additional Context

No response

@dolfies
Copy link
Owner

dolfies commented Jan 17, 2025

On my radar, just haven't had time to do it. Feel free to PR an implementation similar to the existing UserSettings!

@dolfies dolfies added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants