User class
-
class
psclient.
User
(name, connection) Bases:
object
Represents a user on Pokemon Showdown
Parameters: - name (string) – the username
- connection (Connection) – the connection to access PS with
Variables: - name (string) – the username
- connection (Connection) – the connection to access PS with
- id (string that is an ID) – the user’s ID
-
PM
(message) PMs the user the given message
Parameters: message (string) – the message to PM the user