Documentation ¶
Index ¶
- Constants
- func FormatDuration(duration time.Duration) (format string)
- func In(elem string, slice []string) bool
- func Remove(elem string, slice []string) (newSlice []string)
- func WordWrap(str string, size int) (retval []string)
- type Commands
- func (c *Commands) Actions() string
- func (c Commands) Ajuda(cmdLine string) string
- func (c Commands) Ban(cmdLine string, extras []string) string
- func (c Commands) FollowAge(cmdLine string, sender *irc.User) string
- func (c Commands) Help(cmdLine string) string
- func (c Commands) Hug(sender *irc.User, cmdLine string) string
- func (c Commands) KeepMusic(username string) string
- func (c Commands) Marquee(user *irc.User, cmdLine string) string
- func (c *Commands) Reload()
- func (c Commands) SkipMusic(username string) string
- func (c Commands) SongRequest(user *irc.User, songUrl string) string
- func (c Commands) Upside(cmdLine string) string
- func (c Commands) Uptime(cmdLine string) string
- func (c Commands) Urls(cmdLine string) []string
Constants ¶
View Source
const (
MoniqueliveID = "4930146"
)
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
Types ¶
type Commands ¶
type Commands struct { IgnoredCommands []string `json:"ignored-commands"` Commands []struct { Actions []string `json:"actions"` Responses []string `json:"responses"` Logs []string `json:"logs"` Extras []string `json:"extras"` Ajuda string `json:"ajuda"` Help string `json:"help"` } `json:"commands"` ActionResponses map[string][]string ActionLogs map[string][]string ActionExtras map[string][]string ActionAdmin map[string]bool ActionActions map[string][]string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.