Documentation
¶
Index ¶
- func CustomCommands(irc oodle.IRCClient) oodle.Trigger
- func Echo() oodle.Command
- func ExecCommands(sender oodle.Sender) oodle.Trigger
- func GC(checker oodle.Checker) oodle.Command
- func Help(bot oodle.Bot) oodle.Command
- func List(bot oodle.Bot, sender oodle.Sender) oodle.Command
- func Memory(checker oodle.Checker) oodle.Command
- func Register(deps *oodle.Deps) error
- func Tell(irc oodle.IRCClient, db *sql.DB) ([]oodle.Command, oodle.Trigger)
- func TitleScraper(irc oodle.IRCClient) oodle.Trigger
- func Version() oodle.Command
- type Letter
- type MailBox
- func (t *MailBox) BatchDelete(letters []*Letter)
- func (t *MailBox) Delete(id uint)
- func (t *MailBox) Get(id uint) (*Letter, error)
- func (t *MailBox) HasMail(to string) bool
- func (t *MailBox) LettersFrom(from string) []*Letter
- func (t *MailBox) LettersTo(to string) []*Letter
- func (t *MailBox) Migrate()
- func (t *MailBox) Send(l Letter) error
- type Release
- type RemindIn
- type Reminder
- type ReminderStore
- type Seen
- type Updates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomCommands ¶
CustomCommands lets you make custom commands via. config
func ExecCommands ¶ added in v1.5.0
ExecCommands is similar to custom commands but instead of sending fixed message It runs/sends output of configured shell command
func TitleScraper ¶
TitleScraper fetches, scrapes and sends titles whenever it sees urls
Types ¶
type MailBox ¶
type MailBox struct {
// contains filtered or unexported fields
}
func NewMailBox ¶
func (*MailBox) BatchDelete ¶ added in v1.14.0
func (*MailBox) LettersFrom ¶ added in v1.14.0
type Release ¶ added in v1.16.0
type Release struct { HTMLURL string `json:"html_url"` ID int `json:"id"` TagName string `json:"tag_name"` Draft bool `json:"draft"` Prerelease bool `json:"prerelease"` CreatedAt time.Time `json:"created_at"` PublishedAt time.Time `json:"published_at"` Assets []struct { URL string `json:"url"` ID int `json:"id"` Name string `json:"name"` State string `json:"state"` Size int `json:"size"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } `json:"assets"` }
type ReminderStore ¶ added in v1.4.0
type ReminderStore struct {
// contains filtered or unexported fields
}
func NewReminderStore ¶ added in v1.4.0
func NewReminderStore(db *sql.DB) *ReminderStore
func (*ReminderStore) Delete ¶ added in v1.4.0
func (r *ReminderStore) Delete(id uint)
func (*ReminderStore) Migrate ¶ added in v1.4.0
func (r *ReminderStore) Migrate()
func (*ReminderStore) Reminders ¶ added in v1.4.0
func (r *ReminderStore) Reminders() []Reminder
func (*ReminderStore) Set ¶ added in v1.4.0
func (r *ReminderStore) Set(reminder Reminder) error
Click to show internal directories.
Click to hide internal directories.