discord.py-self icon indicating copy to clipboard operation
discord.py-self copied to clipboard

Missing FrecencyUserSettings

Open jsoncitron opened this issue 10 months ago • 1 comments

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

jsoncitron avatar Jan 17 '25 00:01 jsoncitron

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

dolfies avatar Jan 17 '25 01:01 dolfies