Simplify and fix config scanning
This commit is contained in:
parent
157e8c1b17
commit
486cb82773
3 changed files with 82 additions and 84 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue