Simplify and fix config scanning

This commit is contained in:
BreadTube 2025-09-26 04:00:55 +09:00 committed by Corentin
commit 486cb82773
3 changed files with 82 additions and 84 deletions

View file

@ -144,3 +144,8 @@ class Api:
before: int # Get messages before this message ID
after: int # Get messages after this message ID
limit: int # Max number of messages to return (1-100), default=50
class User:
@staticmethod
def get_current() -> tuple[ApiAction, str]:
return ApiAction.GET, '/users/@me'