Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func (*Client) HandleNewUploads ¶
func (c *Client) HandleNewUploads(fn func(filename string, url string, rule *ConfigRule) error) error
HandleNewUploads ...
type Config ¶
type Config struct { Token string Debug bool Rules []*ConfigRule }
Config contains the bot configuration.
Click to show internal directories.
Click to hide internal directories.